shithub: rgbds

ref: 71e22f3bfe52a4e33b6a77e860dd6f80f4bb7e53
dir: /test/asm/opt.asm/

View raw version
SECTION "test", ROM0

	opt !h, !L ; already the default, but tests parsing "!"

pusho
	opt p42, h, L, Wno-div
	ds 1
	ld [$ff88], a
	halt
	println $8000_0000 / -1
popo

	opt H, l

	ds 1
	ld [$ff88], a
	halt
	println $8000_0000 / -1