From bbd9c1f9abf44c90117e0e25b629902f0fb06a73 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 7 Jul 2018 10:59:36 -0700 Subject: 4322 --- subx/ex2.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx/ex2.subx') diff --git a/subx/ex2.subx b/subx/ex2.subx index 32ab1318..aed8dc8d 100644 --- a/subx/ex2.subx +++ b/subx/ex2.subx @@ -3,7 +3,7 @@ # opcode ModR/M SIB displacement immediate # instruction mod, reg, Reg/Mem bits scale, index, base # 1-3 bytes 0/1 byte 0/1 byte 0/1/2/4 bytes 0/1/2/4 bytes - bb 42/imm32 # copy 42 to EBX + bb 1/imm32 # copy 42 to EBX 81 c3 1/imm32 # add 1 to EBX # exit b8 1/imm32 # copy 1 to EAX -- cgit 1.4.1-2-gfad0 More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/translate_subx
blob: 4970a77a076231475f65cab0288516d3358e4ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62