1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-11 13:50:13 +00:00
6502bench/SourceGen/SGTestData/Source/20212-reloc-data-relover.S
Andy McFadden 4e70edc90c Add 20212-reloc-data test
This test exercises the relocation data feature.  The test file is
generated from a multi-segment OMF file that was hex-edited to have
specific attributes (see 20212-reloc-data-lnk.S for instructions).
The test also serves as a way to exercise the OMF converter.

Also, implement the Bank Relative flag.
2020-07-05 17:17:44 -07:00

16 lines
450 B
ArmAsm

; Copyright 2020 faddenSoft. All Rights Reserved.
; See the LICENSE.txt file for distribution terms (Apache 2.0).
;
; Assembler: Merlin 32
;
; Segment #2 : data, loads at $FFE0 in arbitrary bank and overflows
REL ;generate relocatable code
ADDR_FFE0 ENT
start adrl start
hex 000102030405060708090a0b0c0d0e0f
hex 101112131415161718191a1b1c1d1e1f
hex 202122232425262728292a2b2c2d2e2f