1994-06-24 14:02:31 +00:00
|
|
|
.\" $Id$
|
1991-10-01 12:18:39 +00:00
|
|
|
.TH EM_CG 6 "$Revision$"
|
1984-07-12 14:14:54 +00:00
|
|
|
.ad
|
|
|
|
.SH NAME
|
|
|
|
em_cg \- EM to assembly code translator
|
|
|
|
.SH SYNOPSIS
|
1991-10-01 12:18:39 +00:00
|
|
|
~em/lib.bin/\fImach\fP/cg [-d] [-p\fIn\fP] [-w\fIn\fP] [ infile [ outfile ] ]
|
1984-07-12 14:14:54 +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
|
|
|
|
Run in debugging mode,
|
|
|
|
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.
|
|
|
|
.SH "SEE ALSO"
|
1987-03-02 13:13:24 +00:00
|
|
|
ack(1)
|
1984-07-12 14:14:54 +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
|