diff options
-rw-r--r-- | baremetal/ex2.hex | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/baremetal/ex2.hex b/baremetal/ex2.hex index c12f1d78..09103bcd 100644 --- a/baremetal/ex2.hex +++ b/baremetal/ex2.hex @@ -26,13 +26,12 @@ # if (eax < ecx) break 39 # compare rm32 with r32 c8 # 11/mod/direct 001/r32/ecx 000/rm32/eax -7c 06 # break if < -# *eax <- 0xff -c6 # copy imm8 to m8 at r32 - 00 # 00/mod/indirect 000/subop 000/eax - 31 # imm32 +7c 05 # break if < +# *eax <- al +88 # copy r8 to m8 at r32 + 00 # 00/mod/indirect 000/r8/AL 000/rm32/eax 48 # decrement eax -eb f6 # loop to -10 bytes +eb f7 # loop to -9 bytes # $break: e9 fb ff ff ff # hang indefinitely |