[binutils, ARM, 5/16] BF insns infrastructure with new global reloc R_ARM_THM_BF16
[binutils-gdb.git] / sim / testsuite / d10v-elf / t-sac.s
blob7042be025b1d4b3440a5a45a3f1dd5184b0b84dc
1 .include "t-macros.i"
3 start
5 test_sac_1:
6 loadacc2 a0 0x00 0xAFFF 0x0000
7 sac r4, a0
8 check 1 r4 0x7FFF
9 check 2 r5 0xFFFF
11 test_sac_2:
12 loadacc2 a0 0xFF 0x7000 0x0000
13 sac r4, a0
14 check 3 r4 0x8000
15 check 4 r5 0x0000
17 test_sac_3:
18 loadacc2 a0 0x00 0x1000 0xA000
19 sac r4, a0
20 check 5 r4 0x1000
21 check 6 r5 0xA000
23 exit0