Assembler call with win64
Original Reporter info from Mantis: SimBen
-
Reporter name:
Original Reporter info from Mantis: SimBen
- Reporter name:
Description:
Consider the program
var x,y:double;
Function atan2(Y,X:double):double; assembler;
asm
fldl y
fldl x
fpatan
fwait
end;
begin
x:=3;
y:=2;
write(atan2(y,x):9:3);
readln;
end.
The compilation works normally in win32 (and the result after running is correct), but the compilation generates the following error (two times) in win64
Asm: [fld xmmreg] invalid combination of opcode and operands
Additional information:
Same issues with windows 7 pro
Mantis conversion info:
- Mantis ID: 36674
- OS: windows 10 pro
- OS Build: latest (1909)
- Platform: intel x86
- Version: 3.0.4