about summary refs log tree commit diff stats
path: root/102keyboard.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-14 23:12:31 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-14 23:15:46 -0700
commiteede9e222f466fcafe9388131cbee88877d4e47d (patch)
tree5dc4a4f4dd9724ab94a4dbeb888d25dd7a5cc170 /102keyboard.subx
parenteb26052b91ae61b6b30d7452f635933bd088d948 (diff)
downloadmu-eede9e222f466fcafe9388131cbee88877d4e47d.tar.gz
.
Diffstat (limited to '102keyboard.subx')
-rw-r--r--102keyboard.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/102keyboard.subx b/102keyboard.subx
index 0c8826e1..39788075 100644
--- a/102keyboard.subx
+++ b/102keyboard.subx
@@ -37,7 +37,7 @@ read-key:  # kbd: (addr keyboard) -> result/eax: byte
       # var next-key/eax: byte = *buffer-byte-addr
       8a/byte-> *ecx 0/r32/AL
       # if (next-key != 0) lock and remove from keyboard buffer
-      81 7/subop/compare %eax 0/imm32
+      3d/compare-eax-with 0/imm32
       {
         74/jump-if-= break/disp8
         fa/disable-interrupts