Files
vt1200/dwt/loader/rel_a.asm
T

13 lines
346 B
NASM

; rel_a.asm -- reldemo caller: has a 32-bit data reference and an absolute call
; to a symbol defined in rel_b.asm.
.def _start
.ref ext_func
.ref ext_data
.text
_start:
movi ext_data, a0, L ; 32-bit direct reference (R-RELLONG)
move a0, @018F0000h, 1 ; fixed marker (not a relocation)
calla ext_func ; 32-bit absolute call
rets
.end