CORO - define offsets into co-routine headers.

Usage:

coro

Description:

CORO defines offsets into co-routine headers:

C.POST  -10  pointer to posted error message
C.ERNO  -9   ERRNO value for co-routine
C.FUNC  -8   address of entry function
C.NARG  -7   # of args for initial entry
C.FALL  -6   transfer point for co-routine falloff
C.SIZE  -5   total size of fcv (bottom half)
C.CALL  -5   fcv ptr of last caller (top half)
C.TYPE  -4   type of last control change (bottom half)
C.PASS  -4   fcv ptr of last passer (top half)
C.BASE  -3   ptr to base of stack (bottom half)
C.TOP   -3   ptr to top of stack allocated (top half)
C.SPAC  -2   size of user defined space (bottom half)
C.MAX   -2   ptr to max stack usec of stack (top half)
C.KEEP  -1   save store for stack pointer
C.FCV   -0   start of user's array space, location of cp
*
*            the co-routine last executed because its passer:
C.TI     0   has never been invoked
C.TC     1   did a call
C.TR     2   did a resume
C.TD     3   did a detach
C.TF     4   did a function return (falloff)
C.RS     5   did a RESET

At present, C.POST and C.ERNO are defined, but not used.

Copyright © 1996, Thinkage Ltd.