Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

register usage

Status
Not open for further replies.

geoclock

Programmer
Feb 22, 2005
6
US
I have some assembly language routines I am migrating from Delph1 to Delphi4. It seems that delphi4 requires esi, edi, and ebx to be saved over calls to the asm routine. I have found some documention stating this requirement, but nowhere have I found WHAT these registers are being used for. Can anyone enlighten me?
 
No, I understand the 386 instruction set very well. My question was what DELPHI needs preserved in these registers. I have seen one item that suggests that ESI points to the last object accessed. Also, windows API calls do NOT preserve ESI or EDI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top