Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-csky/hilo16.s
2023-03-06 14:48:14 +01:00

7 lines
132 B
ArmAsm

# Test the hi16/lo16 relocations
.text
.global __start
__start:
movih r1, (long_symbol) >> 16
ori r1, r1, (long_symbol) & 0xffff