I am trying to get an assembly branch working where the destination is in another file.
.global xxxDEST ; a label defined in another file
.asg xxxDEST, DEST ; string replacement
MVK.S2 (jump - DEST), B0
MVKH.S2 (jump - DEST), B0
jump:
B.S2 B0
This assembles fine, but when I try to build the project I get a linker warning telling me that relocation type is static base-relative, but that references to my section are not relative to any static base, so this relocation cannot be performed. The next warning says that the output cannot be loaded and run on a target system. This is my first foray into assembly, what am I doing wrong?