FIELD - initialize a field within a static structure.

Usage:

field  offset,opcode,arg*

Examples:

struct mine,10
field  2,ascii,1,mess
field  0,zero,*+1
field  9,microp,3athe,1o012

Where:

offset
is the offset to the field from the immediately preceding STRUCT definition.
opcode
will be used for the opcode in generating the field.
arg*
will be the list of arguments to be used with the opcode.

Description:

The macro STRUCT is used to define a structure whose words are all initially zero. Each use of FIELD will set one word of the structure. There can be no intervening code generating instructions between the calls to STRUCT and FIELD. The words within the structure may be initalized in any order.

See Also:

expl b bmac struct
for the method of defining a structure.

Copyright © 1996, Thinkage Ltd.