Files
open-simh.simtools/crossassemblers/macro11/tests/test-enabl-ama.lst.ok
Olaf Seibert 0e54092d45 Merge commit 'c311f6a175fd52da171795bc093762f4eba4c136' into macro11-v0.7.2
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)
2022-06-08 20:52:56 +02:00

25 lines
1019 B
Plaintext

1 ;;;;
2 ;
3 ; Test that .ENABL AMA doesn't survive to the next pass.
4 ; The default at the start of each pass is set by the command line
5 ; option -d AMA or -e AMA. It is disabled by default.
6
7 000000 .psect foo,i,rw
8 000000 000000 y: .word 0
9 000002 005067 177772 clr y ; should be pc-relative, no relocation
10
11 .enabl ama ; after this, Y would be @#Y
11
Symbol table
. 000006R 002 Y 000000R 002
Program sections:
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
000000 001 (RW,I,LCL,REL,CON,NOSAV)
FOO 000006 002 (RW,I,LCL,REL,CON,NOSAV)