Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
/* 	$Id: output.h,v 1.1.1.1 1998/01/17 15:56:01 release Exp $	 */
32
 
33
 
34
/*
35
   output.h
36
 
37
   This file provides a set of macros to output low-level data 
38
   (strings and integers) to the assembler file.
39
*/
40
 
41
/*
42
$Log: output.h,v $
43
 * Revision 1.1.1.1  1998/01/17  15:56:01  release
44
 * First version to be checked into rolling release.
45
 *
46
 * Revision 1.1.1.1  1995/03/23  10:39:16  john
47
 * Entered into CVS
48
 *
49
 * Revision 1.3  1995/03/23  10:10:53  john
50
 * Added definition of outchar
51
 *
52
*/
53
 
54
#ifndef OUTPUT_H
55
#define OUTPUT_H
56
#define outhex(num)	fprintf(as_file,"0x%08x",num)
57
#define outhexlow(num)	fprintf(as_file,"%08x",num)
58
#define outhigh(num)	fprintf(as_file,"%08x",num)
59
#define outlong(num)	fprintf(as_file,"%ld",num)
60
#define outint(num)	fprintf(as_file,"%d",num)
61
#define outstring(str)	fprintf(as_file,"%s",str)
62
#define outchar(ch)	fputc(ch,as_file)
63
#endif