1
0
mirror of https://github.com/fachat/xa65.git synced 2026-04-19 19:16:25 +00:00

add test for absolute embedded into reloc

This commit is contained in:
Andre Fachat
2019-10-31 22:42:13 +01:00
parent 602cc72d96
commit 3a021c8a2e
4 changed files with 26 additions and 1 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ default: test1
test1:
../../xa -R -LLIB6502 test1.s -o test1.o
../hextool -cmp=ok < test1.o
../hextool -cmp=ok1 < test1.o
../../xa -R test2.s -o test2.o
../hextool -cmp=ok2 < test2.o
clean:
rm -f *.o
Binary file not shown.
+23
View File
@@ -0,0 +1,23 @@
; test absolute code embedded into relocatable mode
.text
lda foo
lda bar
; go into absolute mode
*=$1234
foo .asc "absolute",0
lda foo
lda bar
; go back into relocatble mode
*=
bar .asc "reloc",0