[A83] Re: Special ram areas?
[Prev][Next][Index][Thread]
[A83] Re: Special ram areas?
> From: "Ronald Teune" <rtwolf@gmx.net>
>
> > > The stack grows downwards, so you would want to do ld (fe6fh+199).
>
> That sounds weird to me. If I want something at the bottom of the stack,
> thus the most 'growed' stack, and the stack grows downwards, shouldn't I
do
> (fe6fh-199) (just thinking)?
Well, actually, the stack starts at FFFFh and grows downwards. There are 400
bytes reserved for the stack and FFFFh-400d is FE6Fh. So, the stack is
located at FE6F-FFFF.
References: