Re: A86: beginner Quesion


[Prev][Next][Index][Thread]

Re: A86: beginner Quesion




_puts from rom 1.2:

72ff  c5        push    bc
7300  f5        push    af
...
7314  c1        pop     bc
7315  78        ld      a,b
7316  c1        pop     bc
7317  c9        ret

a is preserved.

-josh

On Thu, 24 Feb 2000 20:58:24 EST ComAsYuAre@aol.com writes:
> 
> In a message dated 2/24/00 8:56:58 PM Eastern Standard Time, 
> rabidcow@juno.com writes:
> 
> > a,bc,de,ix seem to be preserved accross _puts
> 
> Not a.  _puts is just a loop of _putmap, and since strings are 
> null-terminated a=0 at the end of the loop.
> 
> 
> ----
> Jonah Cohen
> <ComAsYuAre@aol.com>
> http://linux.hypnotic.org/~jonah/ (down)
> 

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.