Files
open-simh.simtools/crossassemblers/macro11/tests/test-psect.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

26 lines
1.0 KiB
Plaintext

1 ;;;;;
2 ;
3 ; Contrary to what the manual says, flags in .PSECT directives
4 ; are merged. They do not need to be identical every time.
5 ;
6
7 000000 .psect $pdata
8 .iif P1, .psect $pdata ,ro,d,lcl,rel,con
9 000000 .psect $PDATA ,D
10
11 ; and ends up with
12 ; $PDATA 000000 002 (RO,D,LCL,REL,CON)
12
Symbol table
. 000000R 002
Program sections:
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
000000 001 (RW,I,LCL,REL,CON,NOSAV)
$PDATA 000000 002 (RO,D,LCL,REL,CON,NOSAV)