about summary refs log tree commit diff stats
path: root/linux/304screen.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 /linux/304screen.subx
parenteb26052b91ae61b6b30d7452f635933bd088d948 (diff)
downloadmu-eede9e222f466fcafe9388131cbee88877d4e47d.tar.gz
.
Diffstat (limited to 'linux/304screen.subx')
-rw-r--r--linux/304screen.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/304screen.subx b/linux/304screen.subx
index 8a8df8f9..0b24fdbf 100644
--- a/linux/304screen.subx
+++ b/linux/304screen.subx
@@ -56,7 +56,7 @@ real-screen-size:  # -> nrows/eax: int, ncols/ecx: int
     e8/call syscall_ioctl/disp32
     # some bitworking to extract 2 16-bit shorts
     8b/-> *esi 0/r32/eax
-    81 4/subop/and %eax 0xffff/imm32
+    25/and-eax-with 0xffff/imm32
     8b/-> *esi 1/r32/ecx
     c1/shift 5/subop/logical-right %ecx 0x10/imm8
 $real-screen-size:end: