1985-01-04 14:05:25 +00:00
|
|
|
.\" $Header$
|
1991-10-01 12:18:39 +00:00
|
|
|
.TH NCGG 6 "$Revision$"
|
1985-01-04 14:05:25 +00:00
|
|
|
.ad
|
|
|
|
.SH NAME
|
|
|
|
cgg \- Code table translating utility
|
|
|
|
.SH SYNOPSIS
|
1991-10-01 12:18:39 +00:00
|
|
|
.B ~em/lib.bin/cgg
|
|
|
|
[-c] [-d] [-v] table
|
1985-01-04 14:05:25 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
cgg translates a machine description table into the internal
|
|
|
|
structures needed by em_cg.
|
|
|
|
Flags recognized are:
|
|
|
|
.IP -c
|
|
|
|
Write one of the largest arrays in binary form on the file code.
|
|
|
|
The resulting code generator must be run in the same directory,
|
|
|
|
but compile time of the code generator will be less.
|
|
|
|
Useful during table debugging.
|
|
|
|
.IP -d
|
|
|
|
Generate pseudo code for table debugging.
|
|
|
|
This gives better information when the resulting code generator
|
|
|
|
is run with the debug flag on.
|
|
|
|
It also generates the file lineset that can be used as the
|
1987-02-24 15:44:46 +00:00
|
|
|
bittable described under the -u option of em_ncg(6).
|
1985-01-04 14:05:25 +00:00
|
|
|
.IP -v
|
|
|
|
Give statistics about table usage at end of program.
|
|
|
|
Normally only the tables that have been used more than 75%
|
|
|
|
are reported.
|
|
|
|
.SH FILES
|
|
|
|
tables.H, tables.c
|
|
|
|
.br
|
|
|
|
code If the -c flag was given
|
|
|
|
.br
|
|
|
|
lineset If the -d flag was given
|
|
|
|
.SH "SEE ALSO"
|
1987-02-24 15:44:46 +00:00
|
|
|
ack(1), em_ncg(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.
|
|
|
|
.IP [2]
|
|
|
|
Hans van Staveren "The table driven code generator from the
|
|
|
|
Amsterdam Compiler Kit, Second revised edition"
|
|
|
|
.SH AUTHOR
|
|
|
|
Hans van Staveren, Vrije Universiteit
|