1985-01-04 14:05:25 +00:00
|
|
|
.\" $Header$
|
1987-03-02 13:13:24 +00:00
|
|
|
.TH EM_NCG 6ACK
|
1985-01-04 14:05:25 +00:00
|
|
|
.ad
|
|
|
|
.SH NAME
|
1987-03-02 13:13:24 +00:00
|
|
|
em_ncg \- EM to assembly code translator
|
1985-01-04 14:05:25 +00:00
|
|
|
.SH SYNOPSIS
|
1987-03-02 13:13:24 +00:00
|
|
|
~em/lib/\fBmach\fP/cg [-d\fIn\fP] [-p\fIn\fP] [-w\fIn\fP] [-u\fIfile\fP] [ infile [ outfile ] ]
|
1985-01-04 14:05:25 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
Em_cg reads a compact EM-program, argument or standard input,
|
|
|
|
and produces an assembly program on argument or standard output
|
|
|
|
for the machine that is in its name.
|
|
|
|
Flags recognized are:
|
|
|
|
.IP -d\fIn\fP
|
|
|
|
Run in debugging mode, debugging level \fIn\fP,
|
|
|
|
only possible when the translator is compiled in the right way.
|
|
|
|
.IP -p\fIn\fP
|
|
|
|
Set the ply to \fIn\fP, default 1.
|
|
|
|
The ply is the maximum lookahead depth the code generator may take.
|
|
|
|
Effects of this flag are machine dependent.
|
|
|
|
.IP -w\fIn\fP
|
|
|
|
Set the weight percentage for size to \fIn\fP %, default is 50.
|
|
|
|
This sets the size/time tradeoff in the codegenerator.
|
|
|
|
Effects are again machine dependent.
|
|
|
|
.IP -u\fIfile\fP
|
|
|
|
Take the \fIfile\fP as a bitmap giving 1 bits for untested code rules
|
|
|
|
and write the \fIfile\fP at end of code generation,
|
|
|
|
substituting zero bits for rules used.
|
|
|
|
Give a list of untested rules on standard error, unless the -u
|
|
|
|
was given as -U.
|
1987-03-02 13:13:24 +00:00
|
|
|
Only possible if the -d flag was given to ncgg(6).
|
1985-01-04 14:05:25 +00:00
|
|
|
.SH FILES
|
1987-03-02 13:13:24 +00:00
|
|
|
code If the -c flag was given to ncgg(6)
|
1985-01-04 14:05:25 +00:00
|
|
|
.SH "SEE ALSO"
|
1987-03-02 13:13:24 +00:00
|
|
|
ack(1),
|
|
|
|
ncgg(6)
|
1985-01-04 14:05:25 +00:00
|
|
|
.PD 0
|
|
|
|
.IP [1]
|
|
|
|
A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan
|
|
|
|
Stevenson "Description of a machine architecture for use with
|
|
|
|
block structured languages" Informatica report IR-81.
|
|
|
|
.SH AUTHOR
|
|
|
|
Hans van Staveren, Vrije Universiteit
|