diff options
author | pommicket <pommicket@gmail.com> | 2021-08-31 17:16:30 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2021-08-31 17:18:43 -0400 |
commit | 1753e738d62cb2d7caf6803ef1f6c5aee22a049d (patch) | |
tree | dd489c01ae15eb1385a867475a5a7c860206fd85 /instructions.txt | |
parent | d05239127034da65ca0225f839f0ae3dd9e698bc (diff) |
cleaned up 00
Diffstat (limited to 'instructions.txt')
-rw-r--r-- | instructions.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/instructions.txt b/instructions.txt index 140c9c6..ca2fc0e 100644 --- a/instructions.txt +++ b/instructions.txt @@ -7,6 +7,8 @@ Instruction set: mov rax, imm64 >48 b8 IMM64 +xor eax, eax (sets rax to 0, much shorter than mov rax, 0) +>31 c0 mov rdest, rsrc ax bx cx dx sp bp si di 0 3 1 2 4 5 6 7 @@ -27,6 +29,18 @@ mov qword [rbx], rax >48 89 03 mov rax, qword [rbx] >48 8b 03 +mov dword [rbx], eax +>89 03 +mov eax, dword [rbx] +>8b 03 +mov word [rbx], ax +>66 89 03 +mov ax, word [rbx] +>66 8b 03 +mov byte [rbx], al +>88 03 +mov al, byte [rbx] +>8a 03 neg rax >48 f7 d8 add rax, rbx |