Re: call stack's order of parameters
- From: Bjarni Juliusson <spamtrap@xxxxxxxxxx>
- Date: Wed, 29 Aug 2007 21:25:59 +0200
(The Motorola 68000 had LINK and UNLK instructions that set up the
frame pointer upon call and did the reverse exchange upon return.
I do *not* know if the x86 architecture has this type of instruction.)
It does, ENTER and LEAVE. GCC generates only LEAVE, presumably because it's faster doing the ENTER by hand, like with many instructions in the x86 instruction set.
Bjarni
--
INFORMATION WANTS TO BE FREE
.
- References:
- call stack's order of parameters
- From: Andre
- Re: call stack's order of parameters
- From: Andre
- Re: call stack's order of parameters
- From: Bjarni Juliusson
- Re: call stack's order of parameters
- From: Charles Richmond
- call stack's order of parameters
- Prev by Date: Re: very small code
- Next by Date: AMD announces SSE5 Instructions
- Previous by thread: Re: call stack's order of parameters
- Next by thread: More bits: and, NOT operation
- Index(es):
Relevant Pages
|
|