old-cross-binutils/sim/testsuite/d30v-elf/ls-sthh.S

13 lines
232 B
ArmAsm
Raw Normal View History

add r2, r0, hello
add r4, r0, ('H' << 24) + ('e' << 16)
sthh r4, @(r2,0) || nop
# putstr
.long 0x0e000001, 0x00f00000
# finished
add r2, r0, r0 || nop
.long 0x0e000004, 0x00f00000
.align 3
hello:
.ascii "??llo World\n"