Open
Description
Zydis formats a few things in a way that MASM does not accept with INTEL_MASM:
- The
int3
instruction should be formatted asint 3
forCC
or MASM will complain:
It will also complain about int1
but int 1
gets encoded as CD 01
instead of F1
. The recommended solution is to use DB 0F1h
.
test.asm(6) : error A2008: syntax error : int1
test.asm(7) : error A2008: syntax error : int3
- The x87 floating-point registers
st?
should be formatted asst(?)
:
test.asm(6) : error A2006: undefined symbol : st1
- The
fucomp
instruction should be formatted withoutany operandsthe implicitst(0)
operand:
test.asm(6) : error A2152: coprocessor register cannot be first operand
Metadata
Metadata
Assignees
Labels
No labels