aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/d10v-elf/t-sachi.s
blob: 7774ee045588e35ba38a6897f654ce0a1afa4cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.include "t-macros.i"

	start

test_sachi_1:
	loadacc2 a0 0x00 0xAFFF 0x0000
	sachi r4, a0
	check 1 r4 0x7FFF


test_sachi_2:
	loadacc2 a0 0xFF 0x8000 0x1000
	sachi r4, a0
	check 2 r4 0x8000


test_sachi_3:
	loadacc2 a0 0x00 0x1000 0xA000
	sachi r4, a0
	check 3 r4 0x1000

	exit0