sfl-examples/slide-examples/sysexit.asm.inc

11 lines
217 B
PHP
Raw Normal View History

2023-12-14 14:12:51 +01:00
; use this to show that actual code has ended
nop
nop
nop
nop
; sys_exit(42)
mov rax,60 ; system call number (sys_exit)
mov rdi,42 ; system call return value
syscall