mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-24 03:17:36 +00:00
The comment "eat first char of illegal label, else endless loop on implied .WORD" was no longer true. It did reveal some other small gotchas, which are corrected now as well.
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
1 ;;;;;
|
|
2 ;
|
|
3 ; Test ^pl and ^ph
|
|
4
|
|
5 000000 .PSECT section
|
|
6
|
|
7 000000 000000' .word <^pl section>
|
|
8 000002 000012' .word <^ph section>
|
|
9 000004 000000' .word <^pl code>
|
|
10 000006 000010' .word <^ph code>
|
|
11 000010 010' .byte <^ph code>
|
|
12 000011 000C .byte <^ph code> / 256
|
|
13
|
|
14 000000 .PSECT code
|
|
15
|
|
16 000000 000000' .word <^pl section>
|
|
17 000002 000012' .word <^ph section>
|
|
18 000004 000000' .word <^pl code>
|
|
19 000006 000010' .word <^ph code>
|
|
20
|
|
21 .end
|
|
21
|
|
|
|
|
|
Symbol table
|
|
|
|
. ******R 003
|
|
|
|
|
|
Program sections:
|
|
|
|
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
|
|
000000 001 (RW,I,LCL,REL,CON,NOSAV)
|
|
SECTIO 000012 002 (RW,I,LCL,REL,CON,NOSAV)
|
|
CODE 000010 003 (RW,I,LCL,REL,CON,NOSAV)
|