shithub: rgbds

ref: 8553b61a946527d12f2af7b75b1a7c66b8044ca1
dir: /test/asm/opt.asm/

View raw version
SECTION "test", ROM0

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

pusho
	opt p42, Q.4, h, L, Wno-div
	ds 1
	ld [$ff88], a
	halt
	println $8000_0000 / -1
	def n = 3.14
	println "{x:n} = {f:n}"
popo

	opt H, l

	ds 1
	ld [$ff88], a
	halt
	println $8000_0000 / -1
	def n = 3.14
	println "{x:n} = {f:n}"