open-simh.simtools/tests/test-listing.lst.ok
Olaf Seibert eb60cfe315 Very simple .LIST and .NLIST implementation.
Thanks to Don North. Also added a simple test.
Fixes #3.
2017-04-23 18:25:17 +02:00

27 lines
1.0 KiB
Plaintext

1 ;;;;;;
2 ;
3 ; Test the (so far very basic) .LIST and .NLIST directives.
4 ;
5
6 ; This should get listed (list_level 1)
7 .nlist
10 ; This should get listed (list_level 1)
11 .list
12 ; This should get listed (list_level 2)
13 .nlist
14 ; This should get listed (list_level 1)
15 .nlist
22 ; This should get listed (list_level 1)
22
Symbol table
. ******R 001
Program sections:
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
000000 001 (RW,I,LCL,REL,CON,NOSAV)