test/include.asm
raw| 1 | ; Test symbolic includes |
| 2 | ; |
| 3 | ; Ensure that quoted, unquoted, and symbol based includes work. |
| 4 | ; |
| 5 | ; --Mike Saarna |
| 6 | |
| 7 | .processor 6502 |
| 8 | .org 0 |
| 9 | |
| 10 | TESTINCA = "include-a.inc" |
| 11 | PASSFORCEA = PASSFORCEB |
| 12 | |
| 13 | lda #PASSFORCEA |
| 14 | include "include-a.inc" |
| 15 | include include-a.inc |
| 16 | include TESTINCA |
| 17 | include "11include.inc" |
| 18 | |
| 19 | ; Non-symbol compliant filenames without quotes... |
| 20 | include 11include.inc |
| 21 | |
| 22 | PASSFORCEB = 1 |
| 23 | |
| 24 | |
| 25 | .end |