Propeller Manual

Table Of Contents
Table of Contents
Cog Control...................................................................................................................243
Process Control ............................................................................................................243
Conditions .....................................................................................................................243
Flow Control..................................................................................................................245
Effects ...........................................................................................................................245
Main Memory Access....................................................................................................245
Common Operations.....................................................................................................245
Constants......................................................................................................................247
Registers.......................................................................................................................248
Unary Operators ...........................................................................................................248
Binary Operators...........................................................................................................249
ASSEMBLY LANGUAGE ELEMENTS ........................................................................................250
Syntax Definitions .........................................................................................................250
Opcodes and Opcode Tables .......................................................................................251
Concise Truth Tables....................................................................................................252
Propeller Assembly Instruction Master Table ...............................................................253
ABS .....................................................................................................................................257
ABSNEG................................................................................................................................258
ADD .....................................................................................................................................259
ADDABS................................................................................................................................260
ADDS ...................................................................................................................................261
ADDSX..................................................................................................................................262
ADDX ...................................................................................................................................264
AND .....................................................................................................................................266
ANDN ...................................................................................................................................267
CALL ...................................................................................................................................268
CLKSET................................................................................................................................271
CMP .....................................................................................................................................272
CMPS ...................................................................................................................................274
CMPSUB................................................................................................................................276
CMPSX..................................................................................................................................277
CMPX ...................................................................................................................................280
CNT .....................................................................................................................................282
COGID..................................................................................................................................283
COGINIT ..............................................................................................................................284
COGSTOP ..............................................................................................................................286
CONDITIONS ( IF_X ) ............................................................................................................287
CTRA, CTRB.........................................................................................................................288
DIRA, DIRB.........................................................................................................................289
DJNZ ...................................................................................................................................290
EFFECTS ( WC, WZ, WR, NR ) ....................................................................................................291
FIT .....................................................................................................................................292
FRQA, FRQB.........................................................................................................................293
Page 8 · Propeller Manual v1.1