mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-13 15:27:18 +00:00
otherwise the end of pass 1 carries over into pass 2, which messes with the ranges of local symbols.
45 lines
662 B
Plaintext
45 lines
662 B
Plaintext
;;;;;
|
|
;
|
|
; Test long local labels
|
|
;
|
|
|
|
lab1: beq 1$
|
|
1$: bne lab1
|
|
|
|
; -- new scope
|
|
|
|
lab2a: beq 12345$
|
|
12345$: bne lab2a
|
|
|
|
; -- new scope
|
|
|
|
lab2b: beq 12345$
|
|
12345$: bne lab2b
|
|
|
|
; -- new scope
|
|
|
|
lab3: beq 1$
|
|
1$: bne 2$
|
|
2$: beq 3$
|
|
3$: beq 4$
|
|
4$: beq lab3
|
|
|
|
; -- new scope
|
|
|
|
lab4: beq 1$
|
|
1$: bne 2$
|
|
2$: beq 3$
|
|
3$: beq 4$
|
|
4$: beq lab4
|
|
|
|
; -- test if next pass sets this back to default (off)
|
|
; also test that normal labels don't delimit local ones
|
|
|
|
.enabl lsb
|
|
|
|
1$: bne 2$
|
|
2$: beq 3$
|
|
lab5: beq 1$
|
|
3$: beq 4$
|
|
4$: beq lab5
|