[fpc-devel] ARM compiler issues

Yury Sidorov jura at ce.blagovest.com
Sun Jul 3 12:36:29 CEST 2005


Hello,

1. Why SizeOf(integer) = 2 for ARM?

2. The following code produces wrong assemler code:

var
  i: DWORD;
begin
  i:=PDWORD($1234);
end;

The produced code for assignment is: ldr r0,[INVALID]

Yury Sidorov.





More information about the fpc-devel mailing list