ncgg.6 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .\" $Id$
  2. .TH NCGG 6 "$Revision$"
  3. .ad
  4. .SH NAME
  5. cgg \- Code table translating utility
  6. .SH SYNOPSIS
  7. .B ~em/lib.bin/cgg
  8. [-c] [-d] [-v] table
  9. .SH DESCRIPTION
  10. cgg translates a machine description table into the internal
  11. structures needed by em_cg.
  12. Flags recognized are:
  13. .IP -c
  14. Write one of the largest arrays in binary form on the file code.
  15. The resulting code generator must be run in the same directory,
  16. but compile time of the code generator will be less.
  17. Useful during table debugging.
  18. .IP -d
  19. Generate pseudo code for table debugging.
  20. This gives better information when the resulting code generator
  21. is run with the debug flag on.
  22. It also generates the file lineset that can be used as the
  23. bittable described under the -u option of em_ncg(6).
  24. .IP -v
  25. Give statistics about table usage at end of program.
  26. Normally only the tables that have been used more than 75%
  27. are reported.
  28. .SH FILES
  29. tables.H, tables.c
  30. .br
  31. code If the -c flag was given
  32. .br
  33. lineset If the -d flag was given
  34. .SH "SEE ALSO"
  35. ack(1), em_ncg(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. .IP [2]
  42. Hans van Staveren "The table driven code generator from the
  43. Amsterdam Compiler Kit, Second revised edition"
  44. .SH AUTHOR
  45. Hans van Staveren, Vrije Universiteit