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:05 $
|
|
|
34 |
$Revision: 1.1.1.1 $
|
|
|
35 |
$Log: inst_fmt.h,v $
|
|
|
36 |
* Revision 1.1.1.1 1998/01/17 15:56:05 release
|
|
|
37 |
* First version to be checked into rolling release.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.3 1995/09/12 10:59:27 currie
|
|
|
40 |
* gcc pedanttry
|
|
|
41 |
*
|
|
|
42 |
* Revision 1.2 1995/08/16 16:06:48 currie
|
|
|
43 |
* Shortened some .h names
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.1 1995/04/13 09:08:06 currie
|
|
|
46 |
* Initial revision
|
|
|
47 |
*
|
|
|
48 |
***********************************************************************/
|
|
|
49 |
/* inst_fmtdecs.h
|
|
|
50 |
procs for outputting various MIPS instruction formats to external files
|
|
|
51 |
as_file and ba_file
|
|
|
52 |
*/
|
|
|
53 |
|
|
|
54 |
#include "addrtypes.h"
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
extern void ls_ins PROTO_S ((char *ins, int reg, baseoff a));
|
|
|
58 |
extern void mon_ins PROTO_S ((char *ins, int dest, int src));
|
|
|
59 |
extern void rrr_ins PROTO_S ((char *ins, int dest, int src1, int src2));
|
|
|
60 |
extern void rri_ins PROTO_S ((char *ins, int dest, int src1, long imm));
|
|
|
61 |
extern void uncond_ins PROTO_S ((char *ins, int lab));
|
|
|
62 |
extern void condrr_ins PROTO_S ((char *ins, int src1, int src2, int lab));
|
|
|
63 |
extern void condri_ins PROTO_S ((char *ins, int src1, long imm, int lab));
|
|
|
64 |
extern void condr_ins PROTO_S ((char *ins, int src1, int lab));
|
|
|
65 |
extern void cop_ins PROTO_S ((char *ins, int gr, int fr));
|
|
|
66 |
extern void lsfp_ins PROTO_S ((char *ins, int reg, baseoff a));
|
|
|
67 |
extern void rrfp_ins PROTO_S ((char *ins, int dest, int src));
|
|
|
68 |
extern void rrfpcond_ins PROTO_S ((char *ins, int dest, int src));
|
|
|
69 |
extern void rrrfp_ins PROTO_S ((char *ins, int dest, int src1, int src2));
|
|
|
70 |
extern void ri_ins PROTO_S ((char *ins, int dest, long imm));
|
|
|
71 |
extern void br_ins PROTO_S ((char *ins, int dest));
|
|
|
72 |
extern void extj_ins PROTO_S ((char *ins, baseoff b));
|
|
|
73 |
extern void tround_ins PROTO_S ((char *ins, int dfr, int sfr, int gpr));
|
|
|
74 |
extern void multdiv_ins PROTO_S ((char *ins, int r1, int r2));
|
|
|
75 |
extern void hilo_ins PROTO_S ((char * ins, int dest));
|