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 |
$Author: release $
|
|
|
33 |
$Date: 1998/01/17 15:56:06 $
|
|
|
34 |
$Revision: 1.1.1.1 $
|
|
|
35 |
$Log: mips_ins.h,v $
|
|
|
36 |
* Revision 1.1.1.1 1998/01/17 15:56:06 release
|
|
|
37 |
* First version to be checked into rolling release.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.1 1995/04/13 09:08:06 currie
|
|
|
40 |
* Initial revision
|
|
|
41 |
*
|
|
|
42 |
***********************************************************************/
|
|
|
43 |
/* mips_instructionsdecs.h
|
|
|
44 |
each mips instruction is a unique string starting i_ using MIPS names
|
|
|
45 |
with . replaced by _
|
|
|
46 |
declarations in mips_instructions.c
|
|
|
47 |
*/
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
extern char *i_la /* "la" */ ;
|
|
|
51 |
extern char *i_lb /* "lb" */ ;
|
|
|
52 |
extern char *i_lbu /* "lbu" */ ;
|
|
|
53 |
extern char *i_lh /* "lh" */ ;
|
|
|
54 |
extern char *i_lhu /* "lhu" */ ;
|
|
|
55 |
extern char *i_lw /* "lw" */ ;
|
|
|
56 |
extern char *i_lwc1 /* "lwc1" */ ;
|
|
|
57 |
extern char *i_lwl /* "lwl" */ ;
|
|
|
58 |
extern char *i_sb /* "sb" */ ;
|
|
|
59 |
extern char *i_sh /* "sh" */ ;
|
|
|
60 |
extern char *i_sw /* "sw" */ ;
|
|
|
61 |
extern char *i_swc1 /* "swc1" */ ;
|
|
|
62 |
extern char *i_swl /* "swl" */ ;
|
|
|
63 |
extern char *i_swr /* "swr" */ ;
|
|
|
64 |
extern char *i_ulh /* "ulh" */ ;
|
|
|
65 |
extern char *i_ulhu /* "ulhu" */ ;
|
|
|
66 |
extern char *i_ulw /* "ulw" */ ;
|
|
|
67 |
extern char *i_ush /* "ush" */ ;
|
|
|
68 |
extern char *i_usw /* "usw" */ ;
|
|
|
69 |
extern char *i_rfe /* "rfe" */ ;
|
|
|
70 |
extern char *i_syscall /* "syscall" */ ;
|
|
|
71 |
extern char *i_break /* "break" */ ;
|
|
|
72 |
extern char *i_nop /* "nop" */ ;
|
|
|
73 |
extern char *i_li /* "li" */ ;
|
|
|
74 |
extern char *i_lui /* "lui" */ ;
|
|
|
75 |
extern char *i_abs /* "abs" */ ;
|
|
|
76 |
extern char *i_neg /* "neg" */ ;
|
|
|
77 |
extern char *i_negu /* "negu" */ ;
|
|
|
78 |
extern char *i_not /* "not" */ ;
|
|
|
79 |
extern char *i_add /* "add" */ ;
|
|
|
80 |
extern char *i_addu /* "addu" */ ;
|
|
|
81 |
extern char *i_and /* "and" */ ;
|
|
|
82 |
extern char *i_div /* "div" */ ;
|
|
|
83 |
extern char *i_divu /* "divu" */ ;
|
|
|
84 |
extern char *i_xor /* "xor" */ ;
|
|
|
85 |
extern char *i_mul /* "mul" */ ;
|
|
|
86 |
extern char *i_mulo /* "mulo" */ ;
|
|
|
87 |
extern char *i_mulou /* "mulou" */ ;
|
|
|
88 |
extern char *i_nor /* "nor" */ ;
|
|
|
89 |
extern char *i_or /* "or" */ ;
|
|
|
90 |
extern char *i_rem /* "rem" */ ;
|
|
|
91 |
extern char *i_remu /* "remu" */ ;
|
|
|
92 |
extern char *i_rol /* "rol" */ ;
|
|
|
93 |
extern char *i_ror /* "ror" */ ;
|
|
|
94 |
extern char *i_seq /* "seq" */ ;
|
|
|
95 |
extern char *i_slt /* "slt" */ ;
|
|
|
96 |
extern char *i_sltu /* "sltu" */ ;
|
|
|
97 |
extern char *i_sle /* "sle" */ ;
|
|
|
98 |
extern char *i_sleu /* "sleu" */ ;
|
|
|
99 |
extern char *i_sgt /* "sgt" */ ;
|
|
|
100 |
extern char *i_sgtu /* "sgtu" */ ;
|
|
|
101 |
extern char *i_sge /* "sge" */ ;
|
|
|
102 |
extern char *i_sgeu /* "sgeu" */ ;
|
|
|
103 |
extern char *i_sne /* "sne" */ ;
|
|
|
104 |
extern char *i_sll /* "sll" */ ;
|
|
|
105 |
extern char *i_sra /* "sra" */ ;
|
|
|
106 |
extern char *i_srl /* "srl" */ ;
|
|
|
107 |
extern char *i_sub /* "sub" */ ;
|
|
|
108 |
extern char *i_subu /* "subu" */ ;
|
|
|
109 |
extern char *i_mult /* "mult" */ ;
|
|
|
110 |
extern char *i_multu /* "multu" */ ;
|
|
|
111 |
extern char *i_b /* "b" */ ;
|
|
|
112 |
extern char *i_bc1t /* "bc1t" */ ;
|
|
|
113 |
extern char *i_bc1f /* "bc1f" */ ;
|
|
|
114 |
extern char *i_beq /* "beq" */ ;
|
|
|
115 |
extern char *i_bgt /* "bgt" */ ;
|
|
|
116 |
extern char *i_bge /* "bge" */ ;
|
|
|
117 |
extern char *i_bgeu /* "bgeu" */ ;
|
|
|
118 |
extern char *i_bgtu /* "bgtu" */ ;
|
|
|
119 |
extern char *i_blt /* "blt" */ ;
|
|
|
120 |
extern char *i_bltu;
|
|
|
121 |
extern char *i_ble /* "ble" */ ;
|
|
|
122 |
extern char *i_bleu /* "bleu" */ ;
|
|
|
123 |
extern char *i_bne /* "bne" */ ;
|
|
|
124 |
extern char *i_bal /* "bal" */ ;
|
|
|
125 |
extern char *i_beqz /* "beqz" */ ;
|
|
|
126 |
extern char *i_bgez /* "bgez" */ ;
|
|
|
127 |
extern char *i_bgezal /* "bgezal" */ ;
|
|
|
128 |
extern char *i_bgtz /* "bgtz" */ ;
|
|
|
129 |
extern char *i_blez /* "blez" */ ;
|
|
|
130 |
extern char *i_bltz /* "bltz" */ ;
|
|
|
131 |
extern char *i_bltzal /* "bltzal" */ ;
|
|
|
132 |
extern char *i_bnez /* "bnez" */ ;
|
|
|
133 |
extern char *i_j /* "j" */ ;
|
|
|
134 |
extern char *i_jal /* "jal" */ ;
|
|
|
135 |
extern char *i_move /* "move" */ ;
|
|
|
136 |
extern char *i_mfhi /* "mfhi" */ ;
|
|
|
137 |
extern char *i_mthi /* "mthi" */ ;
|
|
|
138 |
extern char *i_mflo /* "mflo" */ ;
|
|
|
139 |
extern char *i_mfc1 /* "mfc1" */ ;
|
|
|
140 |
extern char *i_mtc1 /* "mtc1" */ ;
|
|
|
141 |
extern char *i_cfc1 /* "cfc1" */ ;
|
|
|
142 |
extern char *i_ctc1 /* "ctc1" */ ;
|
|
|
143 |
extern char *i_l_d /* "l.d" */ ;
|
|
|
144 |
extern char *i_l_s /* "l.s" */ ;
|
|
|
145 |
extern char *i_s_d /* "s.d" */ ;
|
|
|
146 |
extern char *i_s_s;
|
|
|
147 |
extern char *i_mov_s /* "mov.s" */ ;
|
|
|
148 |
extern char *i_mov_d /* "mov.d" */ ;
|
|
|
149 |
extern char *i_abs_d /* "abs.d" */ ;
|
|
|
150 |
extern char *i_abs_s /* "abs.s" */ ;
|
|
|
151 |
extern char *i_add_d /* "add.d" */ ;
|
|
|
152 |
extern char *i_add_s /* "add.s" */ ;
|
|
|
153 |
extern char *i_div_s /* "div_s" */ ;
|
|
|
154 |
extern char *i_div_d /* "div.d" */ ;
|
|
|
155 |
extern char *i_mul_d /* "mul.d" */ ;
|
|
|
156 |
extern char *i_mul_s /* "mul.s" */ ;
|
|
|
157 |
extern char *i_sub_d /* "sub.d" */ ;
|
|
|
158 |
extern char *i_sub_s /* "sub.s" */ ;
|
|
|
159 |
extern char *i_cvt_s_d /* "cvt.s.d" */ ;
|
|
|
160 |
extern char *i_cvt_d_s;
|
|
|
161 |
extern char *i_cvt_s_w /* "cvt.s.w" */ ;
|
|
|
162 |
extern char *i_cvt_d_w /* "cvt.d.w" */ ;
|
|
|
163 |
extern char *i_cvt_w_d /* "cvt.w.d" */ ;
|
|
|
164 |
extern char *i_cvt_w_s /* "cvt.w.s" */ ;
|
|
|
165 |
extern char *i_neg_d /* "neg.d" */ ;
|
|
|
166 |
extern char *i_neg_s /* "neg.s" */ ;
|
|
|
167 |
extern char *i_c_eq_s /* "c.eq.s" */ ;
|
|
|
168 |
extern char *i_c_eq_d /* "c.eq.d" */ ;
|
|
|
169 |
extern char *i_c_lt_s /* "c.lt.s" */ ;
|
|
|
170 |
extern char *i_c_lt_d /* "c.lt.d" */ ;
|
|
|
171 |
extern char *i_c_le_s /* "c.le.s" */ ;
|
|
|
172 |
extern char *i_c_le_d /* "c.le.d" */ ;
|
|
|
173 |
|
|
|
174 |
extern char *i_trunc_w_s;
|
|
|
175 |
extern char *i_trunc_w_d;
|
|
|
176 |
extern char *i_round_w_s;
|
|
|
177 |
extern char *i_round_w_d;
|