about summary refs log tree commit diff stats
path: root/subx/069allocate.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-05 23:03:18 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-05 23:03:18 -0700
commit615a7e957535dabeac826674859e33a01ed2bab4 (patch)
tree3f37be029105c6d51d364d5f6310977b31747bb2 /subx/069allocate.subx
parent688a3d717e87994e311d4db73fe82d1217ec62dc (diff)
downloadmu-615a7e957535dabeac826674859e33a01ed2bab4.tar.gz
5059
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