diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-09 10:15:33 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-09 10:15:33 -0800 |
commit | 8be561f59977a375af2af7cf300273d3548da2e0 (patch) | |
tree | 183219c54824f2672d5489629eb8b476ac3abcc4 /baremetal/ex3.hex | |
parent | adf7fba7fea6940f4330d8d8e25d0f0bbca9d737 (diff) | |
download | mu-8be561f59977a375af2af7cf300273d3548da2e0.tar.gz |
7485
Diffstat (limited to 'baremetal/ex3.hex')
-rw-r--r-- | baremetal/ex3.hex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/baremetal/ex3.hex b/baremetal/ex3.hex index 3ec95d10..92664a23 100644 --- a/baremetal/ex3.hex +++ b/baremetal/ex3.hex @@ -25,7 +25,7 @@ # CL = *read index 8a # copy m8 at r32 to r8 0d # 00/mod/indirect 001/r8/cl 101/rm32/use-disp32 - cf 7d 00 00 # disp32 [label] + cc 7d 00 00 # disp32 [label] # CL = *(keyboard buffer + ecx) 8a # copy m8 at r32 to r8 89 # 10/mod/*+disp32 001/r8/cl 001/rm32/ecx @@ -39,11 +39,11 @@ # otherwise increment read index fe # increment byte 05 # 00/mod/indirect 000/subop/increment 101/rm32/use-disp32 - cf 7d 00 00 # disp32 [label] + cc 7d 00 00 # disp32 [label] # clear top nibble of index (keyboard buffer is circular) 80 # and byte 25 # 00/mod/indirect 100/subop/and 101/rm32/use-disp32 - cf 7d 00 00 # disp32 [label] + cc 7d 00 00 # disp32 [label] 0f # imm8 # print a pixel in fluorescent green c6 # copy imm8 to m8 at rm32 |