mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-21 02:18:06 +11:00
fe15bafeca
During expression parsing, if a local label was parsed, it would select the local registry and keep that selection, making subsequent global labels register in the wrong place.
12 lines
202 B
NASM
12 lines
202 B
NASM
; test some weird label bug zasm had at some point. Simply to refer to a local
|
|
; label in a .dw directive would mess up future label references.
|
|
foo:
|
|
inc a
|
|
.bar:
|
|
inc b
|
|
.baz:
|
|
.dw .bar
|
|
|
|
loop:
|
|
jr loop
|