about summary refs log tree commit diff stats
path: root/014indirect_addressing.cc
diff options
context:
space:
mode:
Diffstat (limited to '014indirect_addressing.cc')
-rw-r--r--014indirect_addressing.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/014indirect_addressing.cc b/014indirect_addressing.cc
index 04b65215..d06a574d 100644
--- a/014indirect_addressing.cc
+++ b/014indirect_addressing.cc
@@ -545,7 +545,7 @@ void test_compare_r32_with_mem_at_rm32_greater() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 00 (indirect mode) 011 (src EAX) 000 (dest EAX)
+      // ModR/M in binary: 00 (indirect mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "07 0c 0b 0a\n"  // 0x0a0b0c07
   );
@@ -583,7 +583,7 @@ void test_compare_r32_with_mem_at_rm32_lesser_unsigned_and_signed() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 11 (direct mode) 011 (src EBX) 000 (dest EAX)
+      // ModR/M in binary: 11 (direct mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "0d 0c 0b 0a\n"  // 0x0a0b0c0d
   );
@@ -602,7 +602,7 @@ void test_compare_r32_with_mem_at_rm32_lesser_unsigned_and_signed_due_to_overflo
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 11 (direct mode) 011 (src EBX) 000 (dest EAX)
+      // ModR/M in binary: 11 (direct mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "00 00 00 80\n"  // smallest negative signed integer
   );
@@ -621,7 +621,7 @@ void test_compare_r32_with_mem_at_rm32_lesser_signed() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 11 (direct mode) 011 (src EBX) 000 (dest EAX)
+      // ModR/M in binary: 11 (direct mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "01 00 00 00\n"  // 1
   );
@@ -640,7 +640,7 @@ void test_compare_r32_with_mem_at_rm32_lesser_unsigned() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 11 (direct mode) 011 (src EBX) 000 (dest EAX)
+      // ModR/M in binary: 11 (direct mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "ff ff ff ff\n"  // -1
   );
@@ -659,7 +659,7 @@ void test_compare_r32_with_mem_at_rm32_equal() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  3b     18                                    \n"  // compare EBX with *EAX
-      // ModR/M in binary: 00 (indirect mode) 011 (src EAX) 000 (dest EAX)
+      // ModR/M in binary: 00 (indirect mode) 011 (lhs EBX) 000 (rhs EAX)
       "== data 0x2000\n"
       "0d 0c 0b 0a\n"  // 0x0a0b0c0d
   );
'>^
2014e1e0 ^
dd9cb39c ^
06fbb9bc ^


5268aada
f648994a ^
5d6af7f5 ^
2014e1e0 ^
06fbb9bc ^
f648994a ^
f648994a ^
f648994a ^
f648994a ^
36064a80 ^
f648994a ^


f648994a ^

5268aada
5d6af7f5 ^
f648994a ^
872db472 ^
f648994a ^

5268aada
34b02351 ^
5268aada
06fbb9bc ^






9a3cd69e ^





06fbb9bc ^
9a3cd69e ^
06fbb9bc ^



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
63
64
65
66
67
68
69
70
71