Specifications
Saturn Syntax of Assembler Statements3-7
Psy-Q Development System
Assembler Functions
The Assemblers offer many functions to ease the programmer's task. These are listed
below, together with the page number for a more detailed explanation of their usage.
In addition, there is a group of specialised functions, which are described on the
following pages.
Name Action Page
def(a) Returns true if a has been defined 4-28
ref(a) Returns true if a has been referenced 4-27
type(a) Returns the data type of a5-11
sqrt(a) Returns the square root of a
strlen(text) Returns the length of string in characters 6-2
strcmp(texta,textb) Returns true if strings match 6-3
instr([start,]txa,txb) Locate substring a in string b6-4
sect(a) Returns the base address of section a8-7
offset(a) Returns the offset into section a8-7
sectoff(a) Equivalent to offset 8-7
group(a) Returns the base address of group a8-2
groupoff(a) Returns the offset into group a8-2