about summary refs log tree commit diff stats
path: root/subx/069allocate.subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx/069allocate.subx')
-rw-r--r--subx/069allocate.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/069allocate.subx b/subx/069allocate.subx
index fe471ed9..402467fe 100644
--- a/subx/069allocate.subx
+++ b/subx/069allocate.subx
@@ -158,7 +158,7 @@ allocate-region:  # ad : (address allocation-descriptor), n : int -> new-ad : (a
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # if (EAX == 0) abort
-    81          7/subop/compare     3/mod/direct    0/rm32/EAX    .           .             .           .           .               0/imm32           # compare EAX
+    3d/compare-EAX-and  0/imm32
     74/jump-if-equal  $allocate-region:abort/disp8
     # earmark 8 bytes at the start for a new allocation descriptor
     # . *EAX = EAX + 8