mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-15 08:02:48 +00:00
Add test for .MCALL (LIB)MACRO.
This commit is contained in:
parent
2ac8b7eb5e
commit
3ef63b592e
@ -22,6 +22,7 @@ TESTS="test-asciz \
|
||||
test-listing \
|
||||
test-locals \
|
||||
test-macro-comma \
|
||||
test-mcall-file \
|
||||
test-prec \
|
||||
test-psect \
|
||||
test-rad50 \
|
||||
|
||||
7
tests/mafile.mac
Normal file
7
tests/mafile.mac
Normal file
@ -0,0 +1,7 @@
|
||||
;;;;;
|
||||
;
|
||||
; This macro is found automatically by .MCALL MAFILE
|
||||
;
|
||||
.macro mafile
|
||||
.asciz /This macro definition comes from a file./
|
||||
.endm
|
||||
34
tests/test-mcall-file.lst.ok
Normal file
34
tests/test-mcall-file.lst.ok
Normal file
@ -0,0 +1,34 @@
|
||||
1 ;;;;;
|
||||
2 ;
|
||||
3 ; Test using .MCALL and pulling in the macro definition from a file.
|
||||
4 ;
|
||||
5
|
||||
6 .mcall (ignored)mafile
|
||||
7
|
||||
8 000000 mafile
|
||||
1 000000 124 150 151 .asciz /This macro definition comes from a file./
|
||||
000003 163 040 155
|
||||
000006 141 143 162
|
||||
000011 157 040 144
|
||||
000014 145 146 151
|
||||
000017 156 151 164
|
||||
000022 151 157 156
|
||||
000025 040 143 157
|
||||
000030 155 145 163
|
||||
000033 040 146 162
|
||||
000036 157 155 040
|
||||
000041 141 040 146
|
||||
000044 151 154 145
|
||||
000047 056 000
|
||||
8
|
||||
|
||||
|
||||
Symbol table
|
||||
|
||||
. ******R 001
|
||||
|
||||
|
||||
Program sections:
|
||||
|
||||
. ABS. 000000 000 (RW,I,GBL,ABS,OVR,NOSAV)
|
||||
000051 001 (RW,I,LCL,REL,CON,NOSAV)
|
||||
8
tests/test-mcall-file.mac
Normal file
8
tests/test-mcall-file.mac
Normal file
@ -0,0 +1,8 @@
|
||||
;;;;;
|
||||
;
|
||||
; Test using .MCALL and pulling in the macro definition from a file.
|
||||
;
|
||||
|
||||
.mcall (ignored)mafile
|
||||
|
||||
mafile
|
||||
Loading…
x
Reference in New Issue
Block a user