mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
31 lines
338 B
ArmAsm
31 lines
338 B
ArmAsm
.globl x1
|
|
.csect x1[RW]
|
|
x1:
|
|
.long 0x0102
|
|
|
|
.weak x2
|
|
.csect x2[RW]
|
|
x2:
|
|
.long 0x0304
|
|
|
|
.toc
|
|
Tx1:
|
|
.tc x1[TC],x1
|
|
Tx2:
|
|
.tc x2[TC],x2
|
|
Tx3:
|
|
.tc x3[TC],x3
|
|
|
|
.globl .main
|
|
.csect .main[PR]
|
|
.main:
|
|
.if size == 32
|
|
lwz 1,Tx1(2)
|
|
lwz 1,Tx2(2)
|
|
lwz 1,Tx3(2)
|
|
.else
|
|
ld 1,Tx1(2)
|
|
ld 1,Tx2(2)
|
|
ld 1,Tx3(2)
|
|
.endif
|