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/output.h,v 1.1.1.1 1998/01/17 15:55:50 release Exp $
|
|
|
35 |
--------------------------------------------------------------------------
|
|
|
36 |
$Log: output.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:42:58 ma
|
|
|
41 |
First version.
|
|
|
42 |
|
|
|
43 |
Revision 1.1.1.1 1997/03/14 07:50:17 ma
|
|
|
44 |
Imported from DRA
|
|
|
45 |
|
|
|
46 |
* Revision 1.2 1996/09/20 13:51:42 john
|
|
|
47 |
* *** empty log message ***
|
|
|
48 |
*
|
|
|
49 |
* Revision 1.1.1.1 1996/09/20 10:56:58 john
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.1.1.1 1996/03/26 15:45:16 john
|
|
|
52 |
*
|
|
|
53 |
* Revision 1.2 94/02/21 16:03:02 16:03:02 ra (Robert Andrews)
|
|
|
54 |
* Put in a couple of explicit casts.
|
|
|
55 |
*
|
|
|
56 |
* Revision 1.1 93/02/22 17:16:32 17:16:32 ra (Robert Andrews)
|
|
|
57 |
* Initial revision
|
|
|
58 |
*
|
|
|
59 |
--------------------------------------------------------------------------
|
|
|
60 |
*/
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
#ifndef OUTPUT_INCLUDED
|
|
|
64 |
#define OUTPUT_INCLUDED
|
|
|
65 |
|
|
|
66 |
extern FILE *fpout ;
|
|
|
67 |
|
|
|
68 |
#define outc( X ) fputc ( ( X ), fpout )
|
|
|
69 |
#define outs( X ) fputs ( ( X ), fpout )
|
|
|
70 |
#define outn( X ) fprintf ( fpout, "%ld", ( long ) ( X ) )
|
|
|
71 |
#define outh( X ) fprintf ( fpout, "0x%lx", ( unsigned long ) ( X ) )
|
|
|
72 |
|
|
|
73 |
#ifdef EBUG
|
|
|
74 |
extern void outnl PROTO_S ( ( void ) ) ;
|
|
|
75 |
#else
|
|
|
76 |
#define outnl() fputc ( '\n', fpout )
|
|
|
77 |
#endif
|
|
|
78 |
|
|
|
79 |
extern void open_output PROTO_S ( ( char * ) ) ;
|
|
|
80 |
extern void init_instructions PROTO_S ( ( void ) ) ;
|
|
|
81 |
extern void init_output PROTO_S ( ( void ) ) ;
|
|
|
82 |
extern void output_all PROTO_S ( ( void ) ) ;
|
|
|
83 |
|
|
|
84 |
extern char *reg_names [] ;
|
|
|
85 |
extern char *instr_names [] ;
|
|
|
86 |
|
|
|
87 |
#endif
|