about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/056trace.subx4
-rw-r--r--subx/apps/dquotes.subx2
2 files changed, 3 insertions, 3 deletions
diff --git a/subx/056trace.subx b/subx/056trace.subx
index aeb572d3..3b665a82 100644
--- a/subx/056trace.subx
+++ b/subx/056trace.subx
@@ -238,7 +238,7 @@ check-trace-contains:  # line : (address string), msg : (address string)
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # rewind-stream(*Trace-stream)
     # . . push args
-    ff          6/subop/push        0/mod/indirect  5/rm32/.disp32            .             .           .           Trace-stream/disp32               # push *Segment-size
+    ff          6/subop/push        0/mod/indirect  5/rm32/.disp32            .             .           .           Trace-stream/disp32               # push *Trace-stream
     # . . call
     e8/call  rewind-stream/disp32
     # . . discard args
@@ -266,7 +266,7 @@ check-trace-scans-to:  # line : (address string), msg : (address string)
     # EAX = trace-scan(*Trace-stream, line)
     # . . push args
     ff          6/subop/push        1/mod/*+disp8   5/rm32/EBP    .           .             .           .           8/disp8         .                 # push *(EBP+8)
-    ff          6/subop/push        0/mod/indirect  5/rm32/.disp32            .             .           .           Trace-stream/disp32               # push *Segment-size
+    ff          6/subop/push        0/mod/indirect  5/rm32/.disp32            .             .           .           Trace-stream/disp32               # push *Trace-stream
     # . . call
     e8/call  trace-scan/disp32
     # . . discard args
diff --git a/subx/apps/dquotes.subx b/subx/apps/dquotes.subx
index 87b808be..b9c06c16 100644
--- a/subx/apps/dquotes.subx
+++ b/subx/apps/dquotes.subx
@@ -1653,7 +1653,7 @@ $parse-string:continue:
     eb/jump  $parse-string:loop/disp8
 $parse-string:break:
     # out->end = curr
-    8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           0/r32/EAX   0xc/disp8       .                 # copy *(EBP+12) to EDI
+    8b/copy                         1/mod/*+disp8   5/rm32/EBP    .           .             .           0/r32/EAX   0xc/disp8       .                 # copy *(EBP+12) to EAX
     89/copy                         1/mod/*+disp8   0/rm32/EAX    .           .             .           1/r32/ECX   4/disp8         .                 # copy ECX to *(EAX+4)
     # line->read = curr - line - 12
     29/subtract                     3/mod/direct    1/rm32/ECX    .           .             .           6/r32/ESI   .               .                 # subtract ESI from ECX