mirror of
https://github.com/fachat/xa65.git
synced 2024-12-28 01:29:22 +00:00
add test for pre-processor replacing strings
This commit is contained in:
parent
6b85ae268c
commit
413d7f194b
6
xa/tests/ppstrings/Makefile
Normal file
6
xa/tests/ppstrings/Makefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
default:
|
||||||
|
../../xa test.s -o test.o
|
||||||
|
../hextool -cmp=ok < test.o
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o
|
BIN
xa/tests/ppstrings/ok
Normal file
BIN
xa/tests/ppstrings/ok
Normal file
Binary file not shown.
15
xa/tests/ppstrings/test.s
Normal file
15
xa/tests/ppstrings/test.s
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
#define DUP 123
|
||||||
|
|
||||||
|
.asc "DUP^@"
|
||||||
|
|
||||||
|
.asc '0DUP^@'
|
||||||
|
|
||||||
|
.asc "D","UP^@"
|
||||||
|
|
||||||
|
.asc "DUP
|
||||||
|
|
||||||
|
.asc "DU0
|
||||||
|
|
||||||
|
.asc "DU
|
||||||
|
|
Loading…
Reference in New Issue
Block a user