mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 03:29:50 +00:00
28 lines
375 B
ArmAsm
28 lines
375 B
ArmAsm
! Test that all common kinds of relocs get right for simple cases.
|
|
! Main part.
|
|
.text
|
|
.global start
|
|
.mode SHmedia
|
|
start:
|
|
movi foo,r33
|
|
movi bar,r21
|
|
pt/l bar,tr3
|
|
movi foobar,r43
|
|
movi baz2,r53
|
|
movi foobar2,r4
|
|
pta xyzzy,tr5
|
|
pt/u plugh,tr1
|
|
|
|
.data
|
|
.global foobar
|
|
foobar: .long baz
|
|
foobar2:
|
|
.long bar
|
|
|
|
.section .text.other,"ax"
|
|
.global xyzzy
|
|
xyzzy:
|
|
nop
|
|
plugh:
|
|
nop
|