added doc for C_init

This commit is contained in:
ceriel 1987-01-08 16:35:00 +00:00
parent 6f5afaa410
commit 3ca2fcad1c

View file

@ -5,6 +5,9 @@ emcode \- EM code interface for compilers
.nf
.B #include <em.h>
.PP
.B C_init(wsize, psize)
.B arith wsize, psize;
.PP
.B int C_open(filename)
.B C_close()
.B int C_busy()
@ -74,6 +77,15 @@ unsigned int
for
.BR label .
.PP
.B C_init()
should be called to initialize the module.
.I Wsize
is the word size and
.I psize
the pointer size on the target machine.
Checking implementations of this module use these values to check
whether arguments of an instruction are legal.
.PP
.BI C_open( filename )
should be invoked as initialiser for
a sequence of calls that produce EM code on file