summaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/ls-stw.S
blob: ac17f2a50ac855369e56d4dbc4214c90e5ffc548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	add r2, r0, hello
	add r4, r0, ('H' << 24) + ('e' << 16) + ('l' << 8) + ('l' << 0)
	stw r4, @(r2,0) || nop
	# putstr
	.long 0x0e000001, 0x00f00000
	# finished
	add r2, r0, r0 || nop
	.long 0x0e000004, 0x00f00000

	.align 3
hello:  
	.ascii "????o World\n"