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/translate.h,v 1.1.1.1 1998/01/17 15:55:50 release Exp $
|
|
|
35 |
--------------------------------------------------------------------------
|
|
|
36 |
$Log: translate.h,v $
|
|
|
37 |
* Revision 1.1.1.1 1998/01/17 15:55:50 release
|
|
|
38 |
* First version to be checked into rolling release.
|
|
|
39 |
*
|
|
|
40 |
Revision 1.1.1.1 1997/10/13 12:43:00 ma
|
|
|
41 |
First version.
|
|
|
42 |
|
|
|
43 |
Revision 1.2 1997/09/25 06:45:38 ma
|
|
|
44 |
All general_proc tests passed
|
|
|
45 |
|
|
|
46 |
Revision 1.1.1.1 1997/03/14 07:50:16 ma
|
|
|
47 |
Imported from DRA
|
|
|
48 |
|
|
|
49 |
* Revision 1.1.1.1 1996/09/20 10:56:59 john
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.2 1996/07/05 14:28:15 john
|
|
|
52 |
* Changes for spec 3.1
|
|
|
53 |
*
|
|
|
54 |
* Revision 1.1.1.1 1996/03/26 15:45:18 john
|
|
|
55 |
*
|
|
|
56 |
* Revision 1.1 93/02/22 17:16:52 17:16:52 ra (Robert Andrews)
|
|
|
57 |
* Initial revision
|
|
|
58 |
*
|
|
|
59 |
--------------------------------------------------------------------------
|
|
|
60 |
*/
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
/*
|
|
|
64 |
TRANSLATIONS BETWEEN OLD SPECIFICATION AND NEW
|
|
|
65 |
*/
|
|
|
66 |
|
|
|
67 |
#define botsh f_bottom
|
|
|
68 |
#define topsh f_top
|
|
|
69 |
#define proksh f_proc
|
|
|
70 |
#define ptr_shape( X ) f_pointer ( f_alignment ( X ) )
|
|
|
71 |
|
|
|
72 |
#if 1
|
|
|
73 |
|
|
|
74 |
#define is_offset( X )\
|
|
|
75 |
( name ( sh ( X ) ) == offsethd && al2 ( sh ( X ) ) != 1 )
|
|
|
76 |
#else
|
|
|
77 |
|
|
|
78 |
#define is_offset(X)\
|
|
|
79 |
(name(sh(X)) == offsethd && \
|
|
|
80 |
(((al2(sh(son(X))) == 1) && (al2(sh(bro(son(X))))!=1)) || \
|
|
|
81 |
((al2(sh(son(X)))!=1) && (al2(sh(bro(son(X)))) == 1))))
|
|
|
82 |
#endif
|
|
|
83 |
|
|
|
84 |
#define simple_exp( X )\
|
|
|
85 |
getexp ( botsh, nilexp, 0, nilexp, nilexp, 0, L0, X )
|