I'm familiar with _DispHL which displays a 16 bit number from HL but I would like to display an 8 byte number instead.
Code:
As you can see I'm trying to load the single byte number into hl to display that way. What is confusing me even more is that the number is displayed as 167 instead of 168. Any help or guidance would be greatly appreciated, thanks!
Code:
.org 9D93h
.db $BB,$6D
bcall(_ClrLCD) ; clear the screen
ld hl, $0000
ld (curRow), hl
ld h,$00
ld l,(Testing)
bcall(_DispHL)
ret ; return from program
Testing:
.db $A8
As you can see I'm trying to load the single byte number into hl to display that way. What is confusing me even more is that the number is displayed as 167 instead of 168. Any help or guidance would be greatly appreciated, thanks!