open-simh.simtools/tests/test-psect.lst.ok
Olaf Seibert 0ab2a4fa16 Add consistency checking for symbol flags
while also adding some consistency.
All listings now list . (dot) as defined so they need updating.
2021-05-30 13:19:39 +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)