Re: what is a stack
From: Sudsy (bitbucket44_at_hotmail.com)
Date: 07/17/04
- Next message: Tor Iver Wilhelmsen: "Re: how to tell jvm in debug mode?"
- Previous message: Matt: "how to tell jvm in debug mode?"
- In reply to: Roedy Green: "Re: what is a stack"
- Next in thread: Roedy Green: "Re: what is a stack"
- Reply: Roedy Green: "Re: what is a stack"
- Reply: Gary Labowitz: "Re: what is a stack"
- Reply: Liz: "Re: what is a stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Jul 2004 03:33:22 -0400
Roedy Green wrote:
<snip>
> When a method returns, it pops its locals off the stack and restores
> the instruction pointer to what it used to be in the caller.
>
> I forget who pops the parameters, the caller or the callee. I vaguely
> recall the callee.
Remember BALR 12,13? And the STM 11,15 which typically proceeded?
Yes, it's normally up to the callee to reset the stack to the
state upon calling, although it can set it up by a fullword in
order to store the return value...
Was that fun or what?!
(most youngsters will find themselves asking WHAT?)
- Next message: Tor Iver Wilhelmsen: "Re: how to tell jvm in debug mode?"
- Previous message: Matt: "how to tell jvm in debug mode?"
- In reply to: Roedy Green: "Re: what is a stack"
- Next in thread: Roedy Green: "Re: what is a stack"
- Reply: Roedy Green: "Re: what is a stack"
- Reply: Gary Labowitz: "Re: what is a stack"
- Reply: Liz: "Re: what is a stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|