mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
23 lines
314 B
NASM
23 lines
314 B
NASM
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}"
|