]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/fr30/stres.cgs
bfd/
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / fr30 / stres.cgs
1 # fr30 testcase for stres $@Ri+,$u4
2 # mach(): fr30
3
4 .include "testutils.inc"
5
6 START
7
8 .text
9 .global stres
10 stres:
11 ; Test stres $@Ri+,$u4
12 ; The current implementation simply increments Ri
13 mvi_h_gr 0x1000,r7
14 set_cc 0x0f ; Condition codes are irrelevent
15 stres 0,@r7+
16 test_cc 1 1 1 1
17 test_h_gr 0x1004,r7
18
19 mvi_h_gr 0x1000,r7
20 set_cc 0x0f ; Condition codes are irrelevent
21 stres 0xf,@r7+
22 test_cc 1 1 1 1
23 test_h_gr 0x1004,r7
24
25 pass