mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 00:28:46 +10:00
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
|