summaryrefslogtreecommitdiff
path: root/instructions.txt
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-06 11:57:55 -0500
committerpommicket <pommicket@gmail.com>2022-01-06 11:57:55 -0500
commita415ec31c095b89b7867d61425e9211fceaf7a42 (patch)
tree18153be078018acdfc4f44d747837d03c391ac26 /instructions.txt
parent9d43ebe2aa32be615104a0dc3aec386b2017ccac (diff)
rvalues!
Diffstat (limited to 'instructions.txt')
-rw-r--r--instructions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/instructions.txt b/instructions.txt
index 52dcea5..13020ca 100644
--- a/instructions.txt
+++ b/instructions.txt
@@ -9,6 +9,8 @@ mov rax, imm64
>48 b8 IMM64
xor eax, eax (sets rax to 0, much shorter than mov rax, 0)
>31 c0
+xor edx, edx
+>31 d2
mov rdest, rsrc
ax bx cx dx sp bp si di
0 3 1 2 4 5 6 7
@@ -51,6 +53,8 @@ neg rax
>48 f7 d8
add rax, rbx
>48 01 d8
+sub rax, rbx
+>48 29 d8
imul rbx
>48 f7 eb
idiv rbx