mirror of
https://github.com/autc04/Retro68.git
synced 2024-10-22 17:28:01 +00:00
11 lines
179 B
ArmAsm
11 lines
179 B
ArmAsm
|
# Test the %hi, lo and %hiadj relocations
|
||
|
|
||
|
.set noat
|
||
|
|
||
|
.text
|
||
|
.global _start
|
||
|
_start:
|
||
|
addi r1, r1, %hi(long_symbol)
|
||
|
addi r1, r1, %lo(long_symbol)
|
||
|
addi r1, r1, %hiadj(long_symbol)
|