old-cross-binutils/sim/testsuite/d30v-elf/ls-st2h.S
1999-04-16 01:35:26 +00:00

13 lines
253 B
ArmAsm

add r2, r0, hello
add r4, r0, ('H' << 8) + 'e'
add r5, r0, ('l' << 8) + 'l'
st2h r4, @(r2,0) || nop
# putstr
.long 0x0e000001, 0x00f00000
# finished
add r2, r0, r0 || nop
.long 0x0e000004, 0x00f00000
.align 3
hello:
.ascii "????o World\n"