Retro68/binutils/ld/testsuite/ld-pru/pmem_symbol.s
2017-10-07 02:16:47 +02:00

14 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)