Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Re: Function ca...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 8 Topic 3722 of 3952
Post > Topic >>

Re: Function calling convention for large return values ?

by Ivan Levashew <octagram@[EMAIL PROTECTED] > May 4, 2008 at 04:25 AM

Skybuck Flying пишет:
>  // for some ****ed up reason esp is not pointing to para8 ?
> 
>  // it was at least pushed down 4 bytes, for ebp.
>  // this still does not explain the remaining 4 bytes but ok
>  // let's first restore a pointer to the stack
>  // in a register for example ecx, and use that instead ;)
> 
>  // must compensate for another two bytes... because
>  // it was decremented first
> 
>  // but maybe delphi choses to simply do a 4 byte push.. maybe
>  // to align it on 4 byte boundarey... maybe even 8 ? :)
>  // could be let's examine the mother****er upcode :)
It's not Delphi, it's Intel. You'd better already know it (and many 
other things) before posting such a chains to alt.lang.asm

-- 
If you want to get to the top, you have to start at the bottom
 




 8 Posts in Topic:
Function calling convention for large return values ?
"Skybuck Flying"  2008-05-02 07:13:19 
Re: Function calling convention for large return values ?
"Skybuck Flying"  2008-05-02 07:23:35 
Re: Function calling convention for large return values ?
"Skybuck Flying"  2008-05-02 07:30:33 
Re: Function calling convention for large return values ?
"Skybuck Flying"  2008-05-02 07:42:51 
Re: Function calling convention for large return values ?
"Skybuck Flying"  2008-05-02 09:36:22 
Re: Function calling convention for large return values ?
Ivan Levashew <octagra  2008-05-04 04:25:06 
Re: Function calling convention for large return values ?
Terence <tbwright@[EMA  2008-05-03 16:01:07 
Re: Function calling convention for large return values ?
Terence <tbwright@[EMA  2008-05-03 18:42:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:27:02 CDT 2008.