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 |
bitsmacs.h
|
|
|
33 |
defines various good bits for props of ident and procrec
|
|
|
34 |
*/
|
|
|
35 |
|
|
|
36 |
/* props of needs */
|
|
|
37 |
#define morefix 0x100
|
|
|
38 |
#define morefloat 0x200
|
|
|
39 |
#define hasproccall 0x400
|
|
|
40 |
#define usesproccall 0x800 /* hasproccall << 1 */
|
|
|
41 |
#define anyproccall 0xc00
|
|
|
42 |
#define long_result_bit 0x1000
|
|
|
43 |
#define has_result_bit 0x2000
|
|
|
44 |
#define regsused 0xd00 /* morefix | usesproccall | hasproccall */
|
|
|
45 |
#define fregsused 0xe00 /* morefix | usesproccall | hasproccall */
|
|
|
46 |
#define realresult_bit 0x4000
|
|
|
47 |
#define longrealresult_bit 0x8000
|
|
|
48 |
#define uses2_bit 2
|
|
|
49 |
|
|
|
50 |
/* props of ident */
|
|
|
51 |
#define inreg_bits 0x800
|
|
|
52 |
#define infreg_bits 0x1000
|
|
|
53 |
#define inanyreg 0x1800
|
|
|
54 |
#define defer_bit 0x2000
|
|
|
55 |
#define notparreg 0x4000
|
|
|
56 |
/*#define subvar 0x100*/
|
|
|
57 |
#define sreguse 0x8000
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/* props of real operations */
|
|
|
61 |
#define SetRev(e) props(e) |= 0x1000
|
|
|
62 |
#define IsRev(e) (props(e) & 0x1000)
|
|
|
63 |
#define ClearRev(e) props(e) &= ~0x1000
|
|
|
64 |
|
|
|
65 |
#define inlineassign 9
|
|
|
66 |
#define UNITWEIGHT 16
|
|
|
67 |
#define PossParReg(e) ((props(e) & 0x400)!=0)
|
|
|
68 |
#define SetPossParReg(e) props(e) |= 0x400
|
|
|
69 |
#define ClearPossParReg(e) props(e) &= ~0x400
|
|
|
70 |
|