Files
rgbds/test/asm/pc-bank.asm
Rangi a70ecba06f Implement PRINT and PRINTLN (#672)
Fixes #669
Closes #368
Closes #624

Deprecate PRINTT, PRINTV, PRINTI, and PRINTF

Default STRFMT("%f") to 5 fractional digits like "{f:}"
Any use of string formatting will share this default
2021-01-02 02:37:32 +01:00

12 lines
226 B
NASM

SECTION "Fixed bank", ROMX,BANK[42]
ldh a, [BANK(@) * 256] ; This should be complained about at assembly time
X = BANK(@)
SECTION "Something else", ROMX
Y = BANK("Fixed bank")
PRINTLN "@: {X}\nStr: {Y}"
ERR = BANK(@)