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 > Pascal Misc > Re: Where's the...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 11 Topic 706 of 806
Post > Topic >>

Re: Where's the function result?

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Dec 17, 2006 at 08:31 PM

On 2006-12-15, Eli Gottlieb <eligottlieb@[EMAIL PROTECTED]
> wrote:
> I'm calling some code built with the Pascal calling convention modifier
> from assembly, and I need to know where the function result will be
> stored. 

Compiler, architecture specific. Usually results smaller or equal to the
wordsize are returned in a default register, which usually is the same for
both C and Pascal CC's. An exception are architectures that return
pointers
in different registers than values (like m68k)

For larger results, the strategies differ.
 




 11 Posts in Topic:
Where's the function result?
Eli Gottlieb <eligottl  2006-12-15 20:07:20 
Re: Where's the function result?
pgx@[EMAIL PROTECTED]   2006-12-17 19:36:50 
Re: Where's the function result?
Marco van de Voort <ma  2006-12-17 20:31:06 
Re: Where's the function result?
Eli Gottlieb <eligottl  2006-12-18 02:22:19 
Re: Where's the function result?
CBFalconer <cbfalconer  2006-12-17 22:15:13 
Re: Where's the function result?
Marco van de Voort <ma  2006-12-18 11:01:41 
Re: Where's the function result?
Eli Gottlieb <eligottl  2006-12-18 19:03:21 
Re: Where's the function result?
Marco van de Voort <ma  2006-12-18 22:04:19 
Re: Where's the function result?
Eli Gottlieb <eligottl  2006-12-18 22:15:30 
Re: Where's the function result?
Marco van de Voort <ma  2006-12-19 06:01:50 
Re: Where's the function result?
Waldek Hebisch <hebisc  2006-12-19 21:37:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Jul 6 6:02:06 CDT 2008.