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

20 lines
224 B
ArmAsm

.data
foo:
.string "foo"
bar:
.string "bar"
d64:
.dword bar
d32:
.word d64
.text
main:
mov %r1, bar
jeq32 %r1, bar, baz
ldabsdw d32
exit
baz:
add %r1, foo
stw [%r2 + 8], d64