diff options
Diffstat (limited to 'home/print_bcd.asm')
-rw-r--r-- | home/print_bcd.asm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/home/print_bcd.asm b/home/print_bcd.asm index aecf8eb96..4f93c866f 100644 --- a/home/print_bcd.asm +++ b/home/print_bcd.asm @@ -1,4 +1,4 @@ -PrintBCDNumber:: ; 38bb +PrintBCDNumber:: ; function to print a BCD (Binary-coded decimal) number ; de = address of BCD number ; hl = destination address @@ -48,9 +48,8 @@ PrintBCDNumber:: ; 38bb inc hl .done ret -; 0x38f2 -PrintBCDDigit:: ; 38f2 +PrintBCDDigit:: and %00001111 and a jr z, .zeroDigit @@ -78,4 +77,3 @@ PrintBCDDigit:: ; 38f2 ld a, " " ld [hli], a ; if right-aligned, "print" a space by advancing the pointer ret -; 0x3917 |