[fpc-pascal] ASM code conversion from Delphi

m2 m2 at ellipsa.net
Wed Apr 29 23:21:01 CEST 2009


Jonas Maebe a écrit :
> 
> On 29 Apr 2009, at 14:23, Roland Turcan wrote:
> 
>> Delphi:
>>
>>  mov  DWord ptr TCPUIDData (edi).r_eax,eax
> 
> 
> By using this:
>   mov  DWord ptr TCPUIDData ([edi]).r_eax,eax
> 

or this

   mov  [edi+TCPUIDData.r_eax], eax

that also works with both Delphi and FPC.


mm
----
http://www.ellipsa.net/



More information about the fpc-pascal mailing list