summary refs log tree commit diff
path: root/asm-notes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'asm-notes.txt')
-rw-r--r--asm-notes.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/asm-notes.txt b/asm-notes.txt
index 03bf335..e3c4d67 100644
--- a/asm-notes.txt
+++ b/asm-notes.txt
@@ -1,4 +1,10 @@
+HLT will drop you into the debugger
+  db 0xf4       ; HLT DO NOT SUBMIT
 
+or perhaps you want to do a clean exit()
+  mov.b rax, 60 ; DO NOT SUBMIT
+  mov.b rdi, 0  ; DO NOT SUBMIT
+  syscall       ; DO NOT SUBMIT
 
 
     ; opcode c7 is Ev, Iz. c6 is Eb, Ib