mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
4b9dc14e0c
* 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.
27 lines
410 B
ArmAsm
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
|