pushw and push look the same when using -Tmasm
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
[Don't have masm or another intel assembler ready
and I'm not 100% sure this is all occurances]
Compile program with -Amasm -a, and check output.
The two pushes (one word, one dword) are the same.
Solution for fixes could be to add
if (paicpu(hp)^.opsize=S_W) and (paicpu(hp)^.opcode=A_PUSH) and (paicpu(hp)^.oper[0].typ=top_const) then
AsmWriteln(#9#9'DB'#9'066h');
near ag386int.pas:651 (RELEASE_1_0_10 version)
Additional information:
Reporter: marcov
EMail: marco at freepascal dot org
Mantis conversion info:
- Mantis ID: 4624
- Version: 1.0.10
- Fixed in version: 1.0.10