forked from arti/vt1200
dwt/loader: COFF loader places GSPLNK images and runs them via create_process
This commit is contained in:
1 parent
dcca6bee4d
commit
139d89a10c
42 files changed
+3822
No files matched your search
@@ -0,0 +1,12 @@
|
||||
; 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
|
||||
Reference in new issue
Block a user