mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-11 10:36:18 +00:00
Update to latest released version of macro-11. Command run: git subtree pull --prefix=crossassemblers/macro11 ../macro11 macro11-v0.7.2 (should be equivalent to git subtree pull --prefix=crossassemblers/macro11 git://gitlab.com/Rhialto/macro11.git macro11-v0.7.2)
18 lines
580 B
Plaintext
18 lines
580 B
Plaintext
;;;;
|
|
;
|
|
; Test that .dsabl gbl at the end of the source does not carry
|
|
; over to the beginning of the next pass.
|
|
; This is actually guaranteed automatically, since it is used in pass 1 only.
|
|
; The symbol should however be entered into the symbol table as UNKNOWN.
|
|
;
|
|
|
|
mov #lab1,r0 ; ok: implicitly global (imported)
|
|
.dsabl gbl
|
|
mov #lab2,r0 ; error: undefined
|
|
|
|
.globl 1$ ; error: locals can't be globals too
|
|
.globl 2$ ; error: locals can't be globals too
|
|
1$: mov #1$,r0
|
|
|
|
.end
|