about summary refs log tree commit diff stats
path: root/102keyboard.subx
diff options
context:
space:
mode:
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