Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-pru/pmem_symbol.s
2023-03-06 14:48:14 +01:00

13 lines
232 B
ArmAsm

.text
.section .init0, "x"
.global _start
_start:
# U16_PMEMIMM
ldi r0, %pmem(_text_label)
ldi r0, %pmem(_text_label + 8)
# Try 32/16_PMEM
.4byte %pmem(_text_label)
.2byte %pmem(_text_label)
.2byte %pmem(_text_label + 4)