A83: Joe Wingerbermuhle?
[Prev][Next][Index][Thread]
A83: Joe Wingerbermuhle?
Hey Joe, do you mind if I borrow this code? I found it in Ahmed
El-Helw's Periodic Table 2.0 (great program!).
;---------= Point hl to string a =---------
; by: Joe Wingerbermuhle
; Thanks, this is a lot easier than my
; method of multiplying string # * 12
;
; Input: a=string number (0 to 255)
; hl->string data
; Output: hl->string
getString:
or a
ret z
ld b,a
xor a
getStringL1:
push bc
ld c,-1
cpir
pop bc
djnz getStringL1
ret
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com