Keyword statements can help you map the fields in your records
by letting you set a starting position, skip unused bytes, and align
fields on specific boundaries. The available keyword statements are:
- POSITION,q - sets the next position and previous position to q
for use with * and = in a subsequent field symbol. For example:
POSITION,8
Syma,*,2,FI
assigns position 8 to Syma.
- POSITION,symbol - sets the next position and previous position
to the position of the specified field symbol for use with * and =
in a subsequent field symbol. POSITION,symbol can be used like the
Assembler ORG instruction. For example:
Sym1,20,10,BI
Sym2,*,18,CH
Sym3,*
POSITION,Sym1
Sym4,*,6,ZD
Sym5,*,4,ZD
assigns position 20 to Sym4 (that is, Sym4 and
Sym5 overlay Sym1).
- SKIP,n- skips nbytes for use with * in a subsequent
field symbol.
- ALIGN,x- aligns the next position on a specific boundary
for use with * in a subsequent field symbol. xcan be H for
halfword alignment, F for fullword alignment or D for doubleword alignment.