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

9 lines
159 B
ArmAsm

# Test linking incompatible object file types.
.text
.global _start
_start:
movhi r2, %hiadj(foo)
addi r2, r2, %lo(foo)
ldw r2, 0(r2)
cmpeq r2, r2, zero