A86: Re: Quick question...


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

A86: Re: Quick question...




DispA:
 ld l,a
 ld h,0
DispHL:
 ld de,_OP1+5
 sub a
 ld (de),a
loop:
 dec de
 call _divHLby10
 add a,'0'
 ld (de),a
 ld a,h
 or l
 jr nz,loop
 jp _puts

> 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 ;)




References: