Re: A86: Re: A86 : Debugger (was Protocol additions)
[Prev][Next][Index][Thread]
Re: A86: Re: A86 : Debugger (was Protocol additions)
>
>On a related note, does anyone know an easy way to get the current SP?
>The best idea I have right now is to write a value into a known address
>somewhere below the stack, then start pushing a different value in a
>counting loop, checking to see when the original value is overwritten.
>
can't you do this:
ld hl,$0000
add hl,sp
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Alan Bailey mailto:bailela@charlie.cns.iit.edu
IRC:Abalone Web:http://www.iit.edu/~bailela/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Follow-Ups:
References: