Hello,
I downloaded and installed:
fpc-2.1.4.x86_64-win64.exe (beta)
I wrote a little Hello World program to test the compiler:
var
test : int64;
begin
writeln('Hello Free Pascal World !');
asm
mov eax, ecx
end;
writeln('Test: ', test );
readln;
end.
I get these errors:
Y:\Free Pascal\Tests\Hello World>ppcrossx64 HelloWorld
HelloWorld.pas(7,10) Error: Unknown identifier "EAX"
HelloWorld.pas(7,12) Error: Unknown identifier "ECX"
HelloWorld.pas(7,12) Error: Asm: [mov ???,???] invalid combination of opcode
and
operands
HelloWorld.pas(14,4) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
Surely it's possible to write assembler code in free pascal ?
Is it a bug/beta issue ?
Can I use win32 download to compile to 64 bit programs ?
I'll try another version.
Bye,
Skybuck.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal