From b1290738e6c6d663e8c2c3448e2883663d0fd286 Mon Sep 17 00:00:00 2001 From: Mohamed Bakr Date: Tue, 10 Jun 2025 20:02:19 +0300 Subject: [PATCH] new(assembly): Infinite loop using jmp instruction --- asm/jmp.asm | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 asm/jmp.asm diff --git a/asm/jmp.asm b/asm/jmp.asm new file mode 100644 index 0000000..4c9b00c --- /dev/null +++ b/asm/jmp.asm @@ -0,0 +1,2 @@ +_start: + jmp _start ; you can also use loop instruction, both instructions can use memory address as an operand