Re: A86: Quick question...


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

Re: A86: Quick question...




DispA:
    ld l,a
    ld h,0
DispHL:
    xor a
    ld de,-1
    ld (_curRow),de
    push bc
    call $4a33
    pop bc
    dec hl
DiscardSpaces:
    ld a,(hl)
    inc hl
    cp ' '
    jr z,DiscardSpaces
    dec hl
    jp _puts                ;change to vputs if you want


In a message dated 1/22/00 2:14:07 AM Eastern Standard Time, 
asmti86@hotmail.com writes:

> A quick question for you guys. How would you display the contents of a 
>  register (like A) onto the screen? Probably someting simple, and I'm just 
>  making it too hard ;)



----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/ (down)