Specifications
4-30 Programmer’s Guide Sega
Psy-Q Development System
END
Description The END directive informs the Assembler to cease its assembly of the source code.
Syntax END [address]
See Also REGS
Remarks
• The inclusion of this directive is mostly cosmetic, since the Assembler will cease
processing when the input source code is exhausted.
• The optional parameter specifies an initial address for the program. See also the
REGS statement, in the section - Target-Related Directives, chapter 5.
Example startrel move.w #$2700,sr
lea $100000-4,sp
...
jmp progad\w
end
IF, ELSE, ELSEIF, ENDIF, ENDC
Description These conditional directives allow the programmer to select code for assembly.
Syntax IF [~]expression
ELSE
ELSEIF [~]expression
ENDIF
ENDC
See Also CASE