shithub: rgbds

ref: 2a9d52871b0bc17f4056cdba71729085a1db8866
dir: /test/asm/pc-bank.asm/

View raw version
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")

    PRINTT "@: {X}\nStr: {Y}\n"

ERR = BANK(@)