diff --git a/asm.awk b/asm.awk index a53cf2e..5a3e004 100644 --- a/asm.awk +++ b/asm.awk @@ -300,7 +300,7 @@ x86 && op in alu { } else if (byteop && rm1 || op1 in r8) { pushb(128) # 80 modrm(op1, alu[op], r8) - pushw(getsym(op2)) + pushb(getsym(op2)) } else if (wordop && rm1 || op1 in r16) { pushb(129) # 81 modrm(op1, alu[op], r16)