You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3 is related to #189. Error message is actually misleading e.g. fucomp st(1) is totally fine. MASM doesn't like fucomp st(0), st(N) syntax because it considers st(0) implicit and Zydis treats both as visible operands.
I've listed all instructions with implicit st(0) as first operand and ran them through ml64.exe shipped with VS2022:
Zydis formats a few things in a way that MASM does not accept with INTEL_MASM:
int3
instruction should be formatted asint 3
forCC
or MASM will complain:It will also complain about
int1
butint 1
gets encoded asCD 01
instead ofF1
. The recommended solution is to useDB 0F1h
.st?
should be formatted asst(?)
:test.asm(6) : error A2006: undefined symbol : st1
fucomp
instruction should be formatted withoutany operandsthe implicitst(0)
operand:test.asm(6) : error A2152: coprocessor register cannot be first operand
The text was updated successfully, but these errors were encountered: