Pristine Ack-5.5
[Ack-5.5.git] / man / em_ncg.6
1 .\" $Id: em_ncg.6,v 1.4 1994/06/24 14:01:51 ceriel Exp $
2 .TH EM_NCG 6 "$Revision: 1.4 $"
3 .ad
4 .SH NAME
5 em_ncg \- EM to assembly code translator
6 .SH SYNOPSIS
7 ~em/lib.bin/\fImach\fP/cg [-d\fIn\fP] [-p\fIn\fP] [-w\fIn\fP] [-u\fIfile\fP] [ infile [ outfile ] ]
8 .SH DESCRIPTION
9 Em_cg reads a compact EM-program, argument or standard input,
10 and produces an assembly program on argument or standard output
11 for the machine that is in its name.
12 Flags recognized are:
13 .IP -d\fIn\fP
14 Run in debugging mode, debugging level \fIn\fP,
15 only possible when the translator is compiled in the right way.
16 .IP -p\fIn\fP
17 Set the ply to \fIn\fP, default 1.
18 The ply is the maximum lookahead depth the code generator may take.
19 Effects of this flag are machine dependent.
20 .IP -w\fIn\fP
21 Set the weight percentage for size to \fIn\fP %, default is 50.
22 This sets the size/time tradeoff in the codegenerator.
23 Effects are again machine dependent.
24 .IP -u\fIfile\fP
25 Take the \fIfile\fP as a bitmap giving 1 bits for untested code rules
26 and write the \fIfile\fP at end of code generation,
27 substituting zero bits for rules used.
28 Give a list of untested rules on standard error, unless the -u
29 was given as -U.
30 Only possible if the -d flag was given to ncgg(6).
31 .SH FILES
32 code    If the -c flag was given to ncgg(6)
33 .SH "SEE ALSO"
34 ack(1),
35 ncgg(6)
36 .PD 0
37 .IP [1]
38 A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan
39 Stevenson "Description of a machine architecture for use with
40 block structured languages" Informatica report IR-81.
41 .SH AUTHOR
42 Hans van Staveren, Vrije Universiteit