Allow OPT to toggle -h

This commit is contained in:
Rangi
2021-05-01 23:04:57 -04:00
committed by Eldred Habert
parent 665eb916a2
commit e9bfe849ad
5 changed files with 37 additions and 9 deletions

View File

@@ -1,14 +1,16 @@
SECTION "test", ROM0
opt !L ; already the default, but tests parsing "!L"
opt !h, !L ; already the default, but tests parsing "!"
pusho
opt p42, L, Wno-div
opt p42, h, L, Wno-div
ds 1
ld [$ff88], a
halt
println $8000_0000 / -1
popo
ds 1
ld [$ff88], a
halt
println $8000_0000 / -1