mirror of
https://github.com/fadden/6502bench.git
synced 2025-01-20 14:31:17 +00:00
4e70edc90c
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.
18 lines
365 B
ArmAsm
18 lines
365 B
ArmAsm
; Copyright 2020 faddenSoft. All Rights Reserved.
|
|
; See the LICENSE.txt file for distribution terms (Apache 2.0).
|
|
;
|
|
; Segment #3 : code, load at specific address ($02/3456)
|
|
|
|
REL ;generate relocatable code
|
|
|
|
BANK2_START ENT
|
|
start ldal start
|
|
jsr later
|
|
rtl
|
|
|
|
BANK2_MOV_DST ENT
|
|
ds 16
|
|
|
|
later nop
|
|
rts
|