summaryrefslogtreecommitdiff
path: root/instructions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'instructions.txt')
-rw-r--r--instructions.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/instructions.txt b/instructions.txt
index 8ab3568..140c9c6 100644
--- a/instructions.txt
+++ b/instructions.txt
@@ -1,7 +1,9 @@
-SYSCALL CALLING CONVENTION
-rdi rsi rdx r10 r8 r9
+Linux syscall calling convention:
+rax - syscall number
+rdi, rsi, rdx, r10, r8, r9 - arguments
return value placed in rax
+Instruction set:
mov rax, imm64
>48 b8 IMM64