Its loading the address for TSparseList.FList to pass it to ForAll

On 23/09/2010 13:51, Todd Martin wrote:
Hi

The following code appears in Grids.pas

{ Jump to TSparsePointerArray.ForAll so that it looks like it was called
   from our caller, so that the BP trick works. }

function TSparseList.ForAll(ApplyFunction: Pointer {TSPAApply}):
Integer; assembler;
asm
         MOV     EAX,[EAX].TSparseList.FList
         JMP     TSparsePointerArray.ForAll
end;

Does anyone know what the first line does?
More importantly, does anyone know how to convert the Intel style
assembler code to AT&T?

Thanks,
Todd




_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5471 (20100922) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


--
Regards

*Rohit Gupta*
B.E. Elec., M.E., Mem IEEE, Member IET
Technical Manager
Computer Fanatics Ltd

*Tel *4892280
*Fax *4892290
*Web *www.cfl.co.nz
------------------------------------------------------------------------
This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to