Propeller Manual

Table Of Contents
3: Assembly Language Reference
Categorical Listing of Propeller Assembly Language
Directives
ORG Adjust compile-time cog address pointer; p 328.
FIT Validate that previous instructions/data fit entirely in cog; p 292.
RES Reserve next long(s) for symbol; p 338.
Configuration
CLKSET
s
Set clock mode at run time; p 271.
Cog Control
COGID
s
Get current cog’s ID; p 283.
COGINIT
s
Start, or restart, a cog by ID; p 284.
COGSTOP
s
Stop a cog by ID; p 286.
Process Control
LOCKNEW
s
Check out a new lock; p 304.
LOCKRET
s
Return a lock; p 305.
LOCKCLR
s
Clear a lock by ID; p 303.
LOCKSET
s
Set a lock by ID; p 306.
WAITCNT
s
Pause execution temporarily; p 368.
WAITPEQ
s
Pause execution until pin(s) match designated state(s); p 369.
WAITPNE
s
Pause execution until pin(s) do not match designated state(s); p 370.
WAITVID
s
Pause execution until Video Generator is available for pixel data; p 371.
Conditions
IF_ALWAYS Always; p 296.
IF_NEVER Never; p 296.
IF_E If equal (Z = 1); p 296.
IF_NE If not equal (Z = 0); p 296.
IF_A If above (!C & !Z = 1); p 296.
Propeller Manual v1.1 · Page 243