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

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
Routine
destination of the
CALL
with the i-field set (since
of a label named Address
The return address is written to the Address
CLKSET
Instruction: Set the clock mode at run time.
CLKSET
Explanation
CLKSET
similar to the Spin command of the same name (see
sets the clock mode, not the frequency.
After issuing a
value by writing to its location in Main RAM (long 0):
Clock Frequency value is not updated, other objects will misbehave due to invalid clock
frequency data.
CLKSET
depending on the relation between the cog’s hub access window and the instruction’s moment
of execution. See Hub on page 24 for more information.
–INSTR– ZCRI –CON–
000011 0001 1111 ddddddddd ------000
is a really a subset of the
changes the System Clock mode during run time. The
. The
is a Hub instruction. Hub instructions require 7 to 22 clock cycles to execute
Mode
Mode
(d-field) is the register containing the 8-bit pattern to write to the CLK register.
RET
CLKSET
<other code here>
instruction at
–DEST–
instruction, it is important to update the System Clock Frequency
_ret
CALL
.
uses an immediate value only) and the d-field set to the address
JMPRET
5: Assembly Language Reference –
Routine_ret
–SRC–
line.
instruction; in fact, it is the same opcode as
_ret
essentially becomes a
Z Result
register unless the
---
CLKSET
WRLONG freqaddr, #0
on page 183) except that it only
Propeller Manual v1.0 · Page 361
C Result
---
CLKSET
NR
effect is specified.
JMP
instruction behaves
instruction with a
Not Written
Result
. If the System
JMPRET
Clocks
7..22
but

Related parts for 122-32000