summaryrefslogtreecommitdiff
path: root/01/instructions.txt
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2021-09-01 17:40:39 -0400
committerpommicket <pommicket@gmail.com>2021-09-01 17:40:39 -0400
commitf71545c939d530d42903deadd365205a4e02bd56 (patch)
tree8b48e76b44ff1547a561d0f71fdd1c2db72b922c /01/instructions.txt
parentbd739d7205b51381dd17a3fc7fedcc4b40a598c3 (diff)
01 done
Diffstat (limited to '01/instructions.txt')
-rw-r--r--01/instructions.txt63
1 files changed, 0 insertions, 63 deletions
diff --git a/01/instructions.txt b/01/instructions.txt
deleted file mode 100644
index 890e878..0000000
--- a/01/instructions.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-00 - Byte 00
-..
-ff - Byte ff
-
-'a - Character a (byte 0x61)
-'! - Character ! (byte 0x21)
-etc.
-
-zA - Zero rax
-im - Set rax to an immediate value, e.g.
- im;05;00;00;00;00;00;00;00;
- will set rax to 5.
-
-ax bx cx dx sp bp si di
-A B C D S R I J
-The instruction for moving one register to another is [dest][src], e.g. CS is
-mov rcx, rsp.
-
-XA - mov r8, rax
-YA - mov r9, rax
-ZA - mov r10, rax
-
-xc - xchg rax, rbx
-
-sq - mov qword [rbx], rax
-lq - mov rax, qword [rbx]
-sd - mov dword [rbx], eax
-ld - mov eax, dword [rbx]
-sw - mov word [rbx], ax
-lw - mov ax, word [rbx]
-sb - mov byte [rbx], al
-lb - mov al, byte [rbx]
-Sq - mov qword [rsp], rax
-Lq - mov rax, qword [rsp]
-
-nA - neg rax
-+B - add rax, rbx
--* - imul rbx
--/ - idiv rbx
-+* - mul rbx
-+/ - div rbx
-!A - not rax
-&B - and rax, rbx
-|B - or rax, rbx
-^B - xor rax, rbx
-<C - shl rax, cl
-<I - shl rax, imm8
->C - shr rax, cl
->I - shr rax, imm8
-]C - sar rax, cl
-]I - sar rax, imm8
--S - sub rsp, imm32
-cm - cmp rax, rbx
-te - test rax, rax
-jm - jmp rel32
-je - je rel32
-jn - jne rel32
-jl - jl rel32
-jb - jb rel32
-ja - ja rel32
-cl - call rax
-re - ret
-sy - syscall