Fix too long imm for cmp r8, imm8
This commit is contained in:
parent
074c293a04
commit
a15e2e0480
1 changed files with 1 additions and 1 deletions
2
asm.awk
2
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue