122-32000 Parallax Inc, 122-32000 Datasheet - Page 352

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Assembly Language Reference
Notes for Master Table
*Clock Cycles for Hub Instructions
Hub instructions require 7 to 22 clock cycles to execute depending on the relation between
the cog’s hub access window and the instruction’s moment of execution. The Hub provides a
“hub access window” to each cog every 16 clocks. Because each cog runs independently of
the hub, it must sync to the hub when executing a hub instruction. The first hub instruction in
a sequence will take from 0 to 15 clocks to sync up to the hub access window, and 7 clocks
afterwards to execute; thus the 7 to 22 (15 + 7) clock cycles to execute. After the first hub
instruction, there will be 9 (16 – 7) free clocks before a subsequent hub access window
arrives for that cog; enough time to execute two 4-clock instructions without missing the next
hub access window. To minimize clock waste, you can insert two normal instructions
between any two otherwise-contiguous hub instructions without any increase in execution
time. Beware that hub instructions can cause execution timing to appear indeterminate;
particularly the first hub instruction in a sequence.
** Clock Cycles for Modify-Branch Instructions
Instructions that modify a value and possibly jump, based on the result, require a different
amount of clock cycles depending on whether or not a jump is required. These instructions
take 4 clock cycles if a jump is required and 8 clock cycles if no jump is required. Since
loops utilizing these instructions typically need to be fast, they are optimized in this way for
speed.
Page 352 · Propeller Manual v1.0

Related parts for 122-32000