Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
 
32
 
33
/*
34
			    VERSION INFORMATION
35
			    ===================
36
 
37
--------------------------------------------------------------------------
38
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/common/inst_fmt.h,v 1.1.1.1 1998/01/17 15:55:54 release Exp $
39
--------------------------------------------------------------------------
40
$Log: inst_fmt.h,v $
41
 * Revision 1.1.1.1  1998/01/17  15:55:54  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.6  1997/10/10  18:32:29  pwe
45
 * prep ANDF-DE revision
46
 *
47
 * Revision 1.5  1995/09/13  11:00:55  john
48
 * New prototype
49
 *
50
 * Revision 1.4  1995/07/18  09:38:50  john
51
 * New functions for return_to_label
52
 *
53
 * Revision 1.3  1995/07/14  16:31:16  john
54
 * Changed prototype name
55
 *
56
 * Revision 1.2  1995/05/26  12:58:48  john
57
 * New prototype
58
 *
59
 * Revision 1.1.1.1  1995/03/13  10:18:39  john
60
 * Entered into CVS
61
 *
62
 * Revision 1.5  1994/12/21  12:10:54  djch
63
 * added maxmin functions
64
 *
65
 * Revision 1.4  1994/12/01  13:17:17  djch
66
 * Added 3 new fns
67
 *
68
 * Revision 1.3  1994/07/04  09:24:54  djch
69
 * Jun94 tape version
70
 *
71
 * Revision 1.2  1994/05/13  12:32:10  djch
72
 * Incorporates improvements from expt version
73
 * changed extj_special_ins to match
74
 *
75
 * Revision 1.1  1994/05/03  14:50:19  djch
76
 * Initial revision
77
 *
78
 * Revision 1.2  93/08/27  11:28:10  11:28:10  ra (Robert Andrews)
79
 *  ext_name now takes an int not a long (I got the comment in inst_fmt.c
80
 * wrong).
81
 * 
82
 * Revision 1.1  93/06/24  14:58:30  14:58:30  ra (Robert Andrews)
83
 * Initial revision
84
 * 
85
--------------------------------------------------------------------------
86
*/
87
 
88
 
89
#ifndef INST_FMT_INCLUDED
90
#define INST_FMT_INCLUDED
91
 
92
#include "addrtypes.h"
93
#include "sparcins.h"
94
 
95
/* special registers */
96
#define YREG	65
97
#define FSR	33
98
 
99
extern char *ext_name PROTO_S ( ( int ) ) ;
100
 
101
extern void ld_ro_ins PROTO_S ( ( ins_p, baseoff, int ) ) ;
102
extern void ld_rr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
103
extern void ld_ins PROTO_S ( ( ins_p, baseoff, int ) ) ;
104
 
105
extern void st_ro_ins PROTO_S ( ( ins_p, int, baseoff ) ) ;
106
extern void st_rr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
107
extern void st_ins PROTO_S ( ( ins_p, int, baseoff ) ) ;
108
 
109
extern void rrr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
110
extern void rir_ins PROTO_S ( ( ins_p, int, long, int ) ) ;
111
extern void rr_ins PROTO_S ( ( ins_p, int, int ) ) ;
112
extern void ir_ins PROTO_S ( ( ins_p, long, int ) ) ;
113
extern void lr_ins PROTO_S ( ( int, int ) ) ;
114
 
115
extern void set_ins PROTO_S ( ( baseoff, int ) ) ;
116
extern void z_ins PROTO_S ( ( ins_p ) ) ;
117
extern void unimp_ins PROTO_S ( ( long ) ) ;
118
 
119
extern void condrr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
120
extern void condri_ins PROTO_S ( ( ins_p, int, long, int ) ) ;
121
extern void fmaxminrr_ins PROTO_S ((ins_p,int,int,int,int));
122
extern void maxminrr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
123
extern void maxminri_ins PROTO_S ( ( ins_p, int, long, int ) ) ;
124
extern void uncond_ins PROTO_S ( ( ins_p, int ) ) ;
125
extern void br_ins PROTO_S ( ( ins_p, int ) ) ;
126
extern void br_abs PROTO_S ((int));
127
extern void lngjmp PROTO_S ((int,int,int));
128
 
129
extern void extj_ins PROTO_S ( ( ins_p, baseoff, int ) ) ;
130
extern void extj_ins_without_delay PROTO_S ( ( ins_p, baseoff, int ) ) ;
131
 
132
extern void extj_special_ins PROTO_S ( ( ins_p, CONST char * CONST, int ) ) ;
133
extern void extj_special_ins_no_delay PROTO_S ( ( ins_p, CONST char * CONST, int ) ) ;
134
extern void extj_reg_ins PROTO_S ( ( ins_p, int, int ) ) ;
135
extern void extj_reg_ins_no_delay PROTO_S ( ( ins_p, int, int ) ) ;
136
 
137
extern void ret_ins PROTO_S ( ( ins_p ) ) ;
138
extern void ret_restore_ins PROTO_S ( ( void ) ) ;
139
extern void stret_restore_ins PROTO_S ( ( void ) ) ;
140
 
141
extern void ldf_ro_ins PROTO_S ( ( ins_p, baseoff, int ) ) ;
142
extern void ldf_rr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
143
extern void ldf_ins PROTO_S ( ( ins_p, baseoff, int ) ) ;
144
extern void stf_ro_ins PROTO_S ( ( ins_p, int, baseoff ) ) ;
145
extern void stf_rr_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
146
extern void stf_ins PROTO_S ( ( ins_p, int, baseoff ) ) ;
147
 
148
extern void rrf_ins PROTO_S ( ( ins_p, int, int ) ) ;
149
extern void rrrf_ins PROTO_S ( ( ins_p, int, int, int ) ) ;
150
 
151
extern void rrf_cmp_ins PROTO_S ( ( ins_p, int, int ) ) ;
152
extern void fbr_ins PROTO_S ( ( ins_p, int ) ) ;
153
 
154
extern void out_asm_reg PROTO_S ( ( int, int ) ) ;
155
extern void out_asm_boff PROTO_S ( ( baseoff, long ) ) ;
156
 
157
#endif /* INST_FMT_INCLUDED */