mirror of
https://github.com/fachat/xa65.git
synced 2025-01-01 10:29:19 +00:00
add tests for error situation
This commit is contained in:
parent
a98b3770ee
commit
dccd33309d
12
xa/tests/neg_offset/Makefile
Normal file
12
xa/tests/neg_offset/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
default: test1 test2
|
||||
|
||||
test1:
|
||||
../../xa -R -LLIB6502 test1.s -o test1.o
|
||||
../hextool -cmp=ok < test1.o
|
||||
|
||||
test2:
|
||||
../../xa -R -LLIB6502 test2.s -o test2.o
|
||||
../hextool -cmp=ok < test2.o
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
6
xa/tests/neg_offset/test1.s
Normal file
6
xa/tests/neg_offset/test1.s
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
.text
|
||||
|
||||
jsr LIB6502-3
|
||||
|
||||
|
9
xa/tests/neg_offset/test2.s
Normal file
9
xa/tests/neg_offset/test2.s
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
#define flib2osa_r LIB6502-3
|
||||
|
||||
.text
|
||||
|
||||
jsr flib2osa_r
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user