binutils-gdb/ld/testsuite/ld-mmix/pr12815-1.s
Hans-Peter Nilsson 4b9dc14e0c PR ld/12815
* ld-mmix/pr12815-1.d, ld-mmix/pr12815-1.s, ld-mmix/pr12815-1.ld,
	ld-mmix/pr12815-2.d, ld-mmix/pr12815-2.s: New tests.
2011-07-25 01:16:05 +00:00

27 lines
410 B
ArmAsm

# 1 "m.c"
! mmixal:= 8H LOC Data_Section
.text ! mmixal:= 9H LOC 8B
.data ! mmixal:= 8H LOC 9B
.p2align 2
LOC @+(4-@)&3
foo IS @
TETRA #2
.text ! mmixal:= 9H LOC 8B
.p2align 2
LOC @+(4-@)&3
.global main
main IS @
SUBU $254,$254,8
STOU $253,$254,0
ADDU $253,$254,8
LDT $0,foo
ADDU $0,$0,1
SET $0,$0
STTU $0,foo
SETL $0,0
LDO $253,$254,0
ADDU $254,$254,8
POP 1,0
.data ! mmixal:= 8H LOC 9B