Pristine Ack-5.5
[Ack-5.5.git] / man / em_cg.6
1 .\" $Id: em_cg.6,v 2.5 1994/06/24 14:01:48 ceriel Exp $
2 .TH EM_CG 6 "$Revision: 2.5 $"
3 .ad
4 .SH NAME
5 em_cg \- EM to assembly code translator
6 .SH SYNOPSIS
7 ~em/lib.bin/\fImach\fP/cg [-d] [-p\fIn\fP] [-w\fIn\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
14 Run in debugging mode,
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 .SH "SEE ALSO"
25 ack(1)
26 .PD 0
27 .IP [1]
28 A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan
29 Stevenson "Description of a machine architecture for use with
30 block structured languages" Informatica report IR-81.
31 .SH AUTHOR
32 Hans van Staveren, Vrije Universiteit