Fix too long imm for cmp r8, imm8
This commit is contained in:
parent
074c293a04
commit
a15e2e0480
2
asm.awk
2
asm.awk
@ -300,7 +300,7 @@ x86 && op in alu {
|
|||||||
} else if (byteop && rm1 || op1 in r8) {
|
} else if (byteop && rm1 || op1 in r8) {
|
||||||
pushb(128) # 80
|
pushb(128) # 80
|
||||||
modrm(op1, alu[op], r8)
|
modrm(op1, alu[op], r8)
|
||||||
pushw(getsym(op2))
|
pushb(getsym(op2))
|
||||||
} else if (wordop && rm1 || op1 in r16) {
|
} else if (wordop && rm1 || op1 in r16) {
|
||||||
pushb(129) # 81
|
pushb(129) # 81
|
||||||
modrm(op1, alu[op], r16)
|
modrm(op1, alu[op], r16)
|
||||||
|
Loading…
Reference in New Issue
Block a user