Re: A86: Re: Number Printing


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

Re: A86: Re: Number Printing




>I just figured that out...I was using "or a" instead of "xor a" when
>initializing the variable.  Why not just use:
>
>ld hl,(memloc)


Hmm.. I always do things the hard way. Must be tired

>And why clear A before you load the number to HL?

Because you are displaying HL, not AHL. Even if bit 0 of the A register was
set, then you answer would double. You dont want that so clear the A
register

>  And where is _dispAHL defined?


Check ti86un.inc on Dux Gregis's site.

-Matt