Skip to content

Commit 05a0c82

Browse files
committed
jmp skip
1 parent d308189 commit 05a0c82

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

ex3

4.39 KB
Binary file not shown.

ex3.asm

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
global _start
2+
3+
section .text
4+
_start:
5+
mov ebx, 42 ; exit status is 42
6+
mov eax, 1 ; sys_exit system call
7+
jmp skip ; jump to "skip" label
8+
mov ebx, 13 ; exit status is 13
9+
10+
skip:
11+
int 0x80

ex3.o

464 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)