Propeller Manual

Table Of Contents
Spin Language Reference
Page 40 · Propeller Manual v1.1
REPEAT Execute block of code repetitively an infinite or finite number of times
with optional loop counter, intervals, exit and continue conditions; p
188.
NEXT Skip rest of REPEAT block and jump to next loop iteration; p . T 140
QUIT Exit from REPEAT loop; p . T 186
RETURN Exit PUB/PRI with normal status and optional return value; p 196.
ABORT Exit PUB/PRI with abort status and optional return value; p 47.
Memory
BYTE Declare byte-sized symbol or access byte of main memory; p 51.
WORD Declare word-sized symbol or access word of main memory; p 227.
LONG Declare long-sized symbol or access long of main memory; p 128.
BYTEFILL Fill bytes of main memory with a value; p 57.
WORDFILL Fill words of main memory with a value; p 234.
LONGFILL Fill longs of main memory with a value; p 134.
BYTEMOVE Copy bytes from one region to another in main memory; p 58.
WORDMOVE Copy words from one region to another in main memory; p 235.
LONGMOVE Copy longs from one region to another in main memory; p 135.
LOOKUP Get value at index (1..N) from a list; p 138.
LOOKUPZ Get value at zero-based index (0..N1) from a list; p 138.
LOOKDOWN Get index (1..N) of a matching value from a list; p 136.
LOOKDOWNZ Get zero-based index (0..N1) of a matching value from a list; p 136.
STRSIZE Get size of string in bytes; p 206.
STRCOMP Compare a string of bytes against another string of bytes; p 203.
...FROM
...TO
...STEP
...UNTIL
...WHILE