Thu Dec 17 17:18:43 1998 Dave Brolley <brolley@cygnus.com>
[deliverable/binutils-gdb.git] / sim / testsuite / sim / fr30 / inte.cgs
CommitLineData
de6fb7e7
DB
1# fr30 testcase for inte
2# mach(): fr30
3
4 .include "testutils.inc"
5
6 START
7
8 .text
9 .global inte
10inte:
11 ; Test inte which is essentially int #9
12 mvr_h_gr tbr,r7
13 inci_h_gr 0x3d8,r7
14 mvi_h_mem pass,r7
15 mvi_h_gr doint,r9
16 inci_h_gr 2,r9
17 mvr_h_gr ssp,r10
18 set_cc 0x0f ; Condition codes should not change
19 set_s_user ; Set opposite of expected
20 set_i 1 ; Should not change
21 mvr_h_gr ps,r8
22doint: inte
23 fail
24
25pass:
26 test_cc 1 1 1 1
27 test_ilm 4
28 test_s_system
29 test_i 1
30 inci_h_gr -4,r10
31 testr_h_mem r8,r10
32 inci_h_gr -4,r10
33 testr_h_mem r9,r10
34 testr_h_dr r10,ssp
35
36 pass
This page took 0.025345 seconds and 4 git commands to generate.