about summary refs log tree commit diff stats
path: root/subx/022div.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-18 00:00:18 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-18 00:45:12 -0700
commit83c67014034bbf9072d7e4555b0e51e815a95756 (patch)
treecf52127783efc20bbe8d903d96e73bc51a1f752d /subx/022div.cc
parent4b506b630ce28b3574a9f903904588f92dd3a1c1 (diff)
downloadmu-83c67014034bbf9072d7e4555b0e51e815a95756.tar.gz
switch to new syntax for segment headers in C++
Diffstat (limited to 'subx/022div.cc')
-rw-r--r--subx/022div.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/022div.cc b/subx/022div.cc
index 0498d7ee..15ed89d8 100644
--- a/subx/022div.cc
+++ b/subx/022div.cc
@@ -7,7 +7,7 @@ put_new(Name, "99", "sign-extend EAX into EDX (cdq)");
 void test_cdq() {
   Reg[EAX].i = 10;
   run(
-      "== 0x1\n"  // code segment
+      "== code 0x1\n"
       "99\n"
   );
   CHECK_TRACE_CONTENTS(
@@ -28,7 +28,7 @@ case 0x99: {  // sign-extend EAX into EDX
 void test_cdq_negative() {
   Reg[EAX].i = -10;
   run(
-      "== 0x1\n"  // code segment
+      "== code 0x1\n"
       "99\n"
   );
   CHECK_TRACE_CONTENTS(