about summary refs log tree commit diff stats
path: root/subx/055trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-08 23:02:58 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-08 23:02:58 -0700
commit47fbf5e3c7bed0edcf4bd32d57013d75dd7cdc9f (patch)
tree66ace92dfd1d288aa75d53dc09413fc73b538d2f /subx/055trace.subx
parent33ad085125ccae96563207701e63d3a2112900ba (diff)
downloadmu-47fbf5e3c7bed0edcf4bd32d57013d75dd7cdc9f.tar.gz
4675
Diffstat (limited to 'subx/055trace.subx')
-rw-r--r--subx/055trace.subx3
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/055trace.subx b/subx/055trace.subx
index 031ee1b0..816ddc05 100644
--- a/subx/055trace.subx
+++ b/subx/055trace.subx
@@ -63,8 +63,7 @@ initialize-trace-stream:
   # copy EAX to *Trace-stream
   89/copy                         0/mod/indirect  5/rm32/.disp32            .             .           0/r32/EAX   Trace-stream/disp32               # copy EAX to *Trace-stream
   # Trace-stream.length = 0x1000/N - 12
-  b9/copy-to-ECX  0xff4/imm32
-  89/copy                         1/mod/*+disp8   0/rm32/EAX    .           .             .           1/r32/ECX   8/disp8         .                 # copy ECX to *(EAX+8)
+  c7          0/copy              1/mod/*+disp8   0/rm32/EAX    .           .             .           .           8/disp8         0xff4/imm32       # copy 0xff4 to *(EAX+8)
   c3/return
 
 # Append to the given trace stream. If it's null, append to the trace-stream saved in 'Trace-stream'.