about summary refs log tree commit diff stats
path: root/subx/014indirect_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-13 00:15:44 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-13 00:24:33 -0700
commit63753f6e1dd3eb7abb638bf4db671b68c4adccb8 (patch)
tree6fe0d0b72611c20954bab63154e5fcf9a309ac5c /subx/014indirect_addressing.cc
parent1892608f1ecb81ea328bfdc80b87cce3f3ce7113 (diff)
downloadmu-63753f6e1dd3eb7abb638bf4db671b68c4adccb8.tar.gz
carry flag thoroughly tested in layer 13
This is time-consuming mostly for me to come up with example scenarios
testing all the different combinations of flags.
Diffstat (limited to 'subx/014indirect_addressing.cc')
-rw-r--r--subx/014indirect_addressing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/014indirect_addressing.cc b/subx/014indirect_addressing.cc
index 89e1d88f..bf7729a7 100644
--- a/subx/014indirect_addressing.cc
+++ b/subx/014indirect_addressing.cc
@@ -385,7 +385,7 @@ void test_compare_mem_at_r32_with_r32_lesser() {
   CHECK_TRACE_CONTENTS(
       "run: compare r/m32 with EBX\n"
       "run: effective address is 0x00002000 (EAX)\n"
-      "run: SF=1; ZF=0; CF=0; OF=0\n"
+      "run: SF=1; ZF=0; CF=1; OF=0\n"
   );
 }
 
^
feac887c ^

90b01a1b ^
eee09a56 ^
7f7d3dcc ^
feac887c ^
eee09a56 ^

5fdd09c5 ^

eee09a56 ^

feac887c ^



eee09a56 ^
431f739d ^
eee09a56 ^
ef790392 ^
071afeff ^

938185b3 ^







071afeff ^




431f739d ^
1b35d4cd ^
1b35d4cd ^
938185b3 ^


83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^








83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^





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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143