Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-bpf/reloc-insn32.s

21 lines
224 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.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