A86: Re: Re: Number Printing


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

A86: Re: Re: Number Printing




Oops! You need this:

 _ldhlhl         equ     $5928           ;move the contents of (hl) into hl
_dispAHL   equ     $4A33          ; displays AHL

Somehow that got deleted before I sent the message

-Matt

>Thus:
>
>xor a ; Clear A
>ld hl, MemoryLocation ; The 16-bit mem location goes here
>call  _ldhlhl                    ; Now HL = 16-bit number
>xor a                              ; Clear A register
>call _dispAHL
>
>-Matt
>
>I did not test this but it should work.
>