aboutsummaryrefslogtreecommitdiffstats
path: root/home/print_bcd.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/print_bcd.asm')
-rw-r--r--home/print_bcd.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/print_bcd.asm b/home/print_bcd.asm
index 57ec12a8..2e501be5 100644
--- a/home/print_bcd.asm
+++ b/home/print_bcd.asm
@@ -20,7 +20,7 @@ PrintBCDNumber::
jr z, .loop
bit BIT_LEADING_ZEROES, b
jr nz, .loop
- ld [hl], "¥"
+ ld [hl], '¥'
inc hl
.loop
ld a, [de]
@@ -40,10 +40,10 @@ PrintBCDNumber::
.skipRightAlignmentAdjustment
bit BIT_MONEY_SIGN, b
jr z, .skipCurrencySymbol
- ld [hl], "¥"
+ ld [hl], '¥'
inc hl
.skipCurrencySymbol
- ld [hl], "0"
+ ld [hl], '0'
call PrintLetterDelay
inc hl
.done
@@ -59,13 +59,13 @@ PrintBCDDigit::
; if bit 7 is set, then no numbers have been printed yet
bit BIT_MONEY_SIGN, b
jr z, .skipCurrencySymbol
- ld [hl], "¥"
+ ld [hl], '¥'
inc hl
res BIT_MONEY_SIGN, b
.skipCurrencySymbol
res BIT_LEADING_ZEROES, b
.outputDigit
- add "0"
+ add '0'
ld [hli], a
jp PrintLetterDelay
.zeroDigit