Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-mmix/pr12815-1.s
2023-03-06 14:48:14 +01:00

26 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