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"
   );
 }