added doc for C_init
This commit is contained in:
parent
35422761e4
commit
c15f8492de
@ -5,6 +5,9 @@ emcode \- EM code interface for compilers
|
|||||||
.nf
|
.nf
|
||||||
.B #include <em.h>
|
.B #include <em.h>
|
||||||
.PP
|
.PP
|
||||||
|
.B C_init(wsize, psize)
|
||||||
|
.B arith wsize, psize;
|
||||||
|
.PP
|
||||||
.B int C_open(filename)
|
.B int C_open(filename)
|
||||||
.B C_close()
|
.B C_close()
|
||||||
.B int C_busy()
|
.B int C_busy()
|
||||||
@ -74,6 +77,15 @@ unsigned int
|
|||||||
for
|
for
|
||||||
.BR label .
|
.BR label .
|
||||||
.PP
|
.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 )
|
.BI C_open( filename )
|
||||||
should be invoked as initialiser for
|
should be invoked as initialiser for
|
||||||
a sequence of calls that produce EM code on file
|
a sequence of calls that produce EM code on file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user