about summary refs log tree commit diff stats
path: root/baremetal/ex2.hex
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-27 23:35:31 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-27 23:35:31 -0800
commit5d2f1c57a58341ee5c793c2eb445159813e37160 (patch)
treeda46eb1ce831cb1dfc9812f84da0862e76ec48d1 /baremetal/ex2.hex
parentbf50df60a1f1548d5c993455e8c83c8630db3655 (diff)
downloadmu-5d2f1c57a58341ee5c793c2eb445159813e37160.tar.gz
7436
Start highlighting lines that may need to be recomputed when offsets change.
Diffstat (limited to 'baremetal/ex2.hex')
-rw-r--r--baremetal/ex2.hex6
1 files changed, 3 insertions, 3 deletions
diff --git a/baremetal/ex2.hex b/baremetal/ex2.hex
index 73070e8e..4ab558d8 100644
--- a/baremetal/ex2.hex
+++ b/baremetal/ex2.hex
@@ -15,7 +15,7 @@
 # ecx <- LFB
 8b  # copy *rm32 to r32
   0d  # 00/mod/indirect 001/r32/ecx 101/rm32/use-disp32
-  28 7f 00 00 # disp32
+  28 7f 00 00 # disp32 [label]
 
 # eax <- LFB + 0xbffff (1024*768 - 1)
 8d  # copy-address rm32 to r32
@@ -26,12 +26,12 @@
 # if (eax < ecx) break
 39  # compare rm32 with r32
   c8  # 11/mod/direct 001/r32/ecx 000/rm32/eax
-7c 05  # break if <
+7c 05  # break if < [label]
 # *eax <- al
 88  # copy r8 to m8 at r32
   00  # 00/mod/indirect 000/r8/AL 000/rm32/eax
 48  # decrement eax
-eb f7  # loop to -9 bytes
+eb f7  # loop to -9 bytes [label]
 
 # $break:
 e9 fb ff ff ff  # hang indefinitely