OPT L acts like -L and *dis*ables optimizing LD to LDH

Fixes #867
This commit is contained in:
Rangi
2021-05-01 22:54:26 -04:00
committed by Eldred Habert
parent 04788e15af
commit 665eb916a2
4 changed files with 8 additions and 6 deletions

View File

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