[fpc-devel] ARM compiler issues

Florian Klaempfl F.Klaempfl at gmx.de
Sun Jul 3 17:08:35 CEST 2005


Yury Sidorov wrote:

> Hello,
> 
> 1. Why SizeOf(integer) = 2 for ARM?
> 
> 2. The following code produces wrong assemler code:
> 
> var
>   i: DWORD;
> begin
>   i:=PDWORD($1234);
> end;

If you mean
i:=PDWORD($1234)^;

It's fixed now.

> 
> The produced code for assignment is: ldr r0,[INVALID]
> 
> Yury Sidorov.
> 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel





More information about the fpc-devel mailing list