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:
@@ -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.
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user