ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / seqstat.s
blob45fad2c1e52b84545d2fb1faf30dd80fa9221b71
1 # Blackfin testcase for SEQSTAT register
2 # mach: bfin
4 .include "testutils.inc"
6 .macro seqstat_test val:req
7 imm32 R0, \val
8 SEQSTAT = R0;
9 R1 = SEQSTAT;
10 CC = R7 == R1;
11 IF !CC JUMP 1f;
12 .endm
14 start
16 # Writes to SEQSTAT should be ignored
17 R7 = SEQSTAT;
19 seqstat_test 0
20 seqstat_test 0x1
21 seqstat_test -1
22 seqstat_test 0xab11cd22
24 pass
25 1: fail