2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1996
|
|
|
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 |
VERSION INFORMATION
|
|
|
31 |
===================
|
|
|
32 |
|
|
|
33 |
--------------------------------------------------------------------------
|
|
|
34 |
$Header: /u/g/release/CVSROOT/Source/src/installers/680x0/common/coder.h,v 1.1.1.1 1998/01/17 15:55:49 release Exp $
|
|
|
35 |
--------------------------------------------------------------------------
|
|
|
36 |
$Log: coder.h,v $
|
|
|
37 |
* Revision 1.1.1.1 1998/01/17 15:55:49 release
|
|
|
38 |
* First version to be checked into rolling release.
|
|
|
39 |
*
|
|
|
40 |
Revision 1.1.1.1 1997/10/13 12:42:48 ma
|
|
|
41 |
First version.
|
|
|
42 |
|
|
|
43 |
Revision 1.2 1997/06/18 10:09:25 ma
|
|
|
44 |
Checking in before merging with Input Baseline changes.
|
|
|
45 |
|
|
|
46 |
Revision 1.1.1.1 1997/03/14 07:50:10 ma
|
|
|
47 |
Imported from DRA
|
|
|
48 |
|
|
|
49 |
* Revision 1.1.1.1 1996/09/20 10:56:52 john
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.2 1996/07/05 14:17:52 john
|
|
|
52 |
* Changes for spec 3.1
|
|
|
53 |
*
|
|
|
54 |
* Revision 1.1.1.1 1996/03/26 15:45:09 john
|
|
|
55 |
*
|
|
|
56 |
* Revision 1.1 93/02/22 17:15:23 17:15:23 ra (Robert Andrews)
|
|
|
57 |
* Initial revision
|
|
|
58 |
*
|
|
|
59 |
--------------------------------------------------------------------------
|
|
|
60 |
*/
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
#ifndef CODER_INCLUDED
|
|
|
64 |
#define CODER_INCLUDED
|
|
|
65 |
|
|
|
66 |
extern void coder PROTO_S ( ( where, ash, exp ) ) ;
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
/*
|
|
|
70 |
LOCATION IDENTIFIERS
|
|
|
71 |
|
|
|
72 |
These values are used by the register allocation routines to indicate
|
|
|
73 |
where an expression is held.
|
|
|
74 |
*/
|
|
|
75 |
|
|
|
76 |
#define reg_pl 0 /* In a register */
|
|
|
77 |
#define par_pl 1 /* On the stack (procedure argument) */
|
|
|
78 |
#define var_pl 2 /* On the stack (allocated variable) */
|
|
|
79 |
#define nowhere_pl 3 /* Elsewhere */
|
|
|
80 |
#ifndef tdf3
|
|
|
81 |
#define par2_pl 4 /* procedure argument accessed by use of A5 */
|
|
|
82 |
#define par3_pl 5 /* procedure argument accessed by use of SP */
|
|
|
83 |
#endif
|
|
|
84 |
/*
|
|
|
85 |
TEST NUMBERS
|
|
|
86 |
|
|
|
87 |
These numbers give the tests recognised by branch, cmp etc.
|
|
|
88 |
*/
|
|
|
89 |
|
|
|
90 |
#define tst_le L1
|
|
|
91 |
#define tst_ls L2
|
|
|
92 |
#define tst_ge L3
|
|
|
93 |
#define tst_gr L4
|
|
|
94 |
#define tst_neq L5
|
|
|
95 |
#define tst_eq L6
|
|
|
96 |
#define tst_ngr L7
|
|
|
97 |
#define tst_nge L8
|
|
|
98 |
#define tst_nls L9
|
|
|
99 |
#define tst_nle L10
|
|
|
100 |
|
|
|
101 |
#endif
|