Unable to compile with {$ASMMODE DIRECT} switch
Original Reporter info from Mantis: sailor80
-
Reporter name: Kirill K
Original Reporter info from Mantis: sailor80
- Reporter name: Kirill K
Description:
Unable to compile with {$ASMMODE DIRECT} switch, backward incompability with sources for older versions FPC 1.0.10
pp386.exe always says - Illegal assembler style specified "DIRECT"
Steps to reproduce:
this example code compiles correctly with FPC 1.0.10 using -Aas switch
(ppc386.exe -Aas test.pas)
but cannot be compiled with 2.2.4 cause of Illegal assembler style specified "DIRECT"
program test;
{$ASMMODE DIRECT}
procedure testproc;
assembler;
asm
movl 8(%ebp),%eax
movl 4(%eax),%eax
end;
begin
end.
Mantis conversion info:
- Mantis ID: 14269
- Platform: x86
- Version: 2.2.4