diff options
author | pommicket <pommicket@gmail.com> | 2022-01-06 11:57:55 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-01-06 11:57:55 -0500 |
commit | a415ec31c095b89b7867d61425e9211fceaf7a42 (patch) | |
tree | 18153be078018acdfc4f44d747837d03c391ac26 /instructions.txt | |
parent | 9d43ebe2aa32be615104a0dc3aec386b2017ccac (diff) |
rvalues!
Diffstat (limited to 'instructions.txt')
-rw-r--r-- | instructions.txt | 4 |
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 |