Specifications

4-20 Programmer’s Guide Sega
Psy-Q Development System
EVEN
Description This directive aligns the program counter to the next word boundary.
Syntax EVEN
See Also CNOP
Remarks
There is a related assembler option, AE - Automatic Even. If set, the word and
long word forms of several directives, such as DC, DCB, DS, and _RS, will force
the program counter onto the next word boundary before they are executed.
In code containing SECTIONs, the Assembler does not allow the program
counter to be reset to a size boundary greater than the alignment already set for
that section. Therefore, a EVEN statement, is not allowed in a section that is
byte-aligned.
Examples Ind1 dc.b 0
Ind2 dc.b 0
Ind3 dc.b 0
even
InArea ds.b Inlength
forces InArea onto a word boundary.