A86: Re: Re: displaying numbers


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

A86: Re: Re: displaying numbers






>
>>
>>is there a way to display the contents of a register?
I forgot to mention the other registers must be cleared

example:

.org _asm_exec_ram

 
 push hl         ;Save HL in case you need it back
 ld l, 200        ;Store 200 in L
 ld a, 0           ;Clear A
 ld h, 0           ;Clear H
 call $4A33   ; Display AHL
 pop hl

.end