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

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
FIT
Directive: Validate that previous instructions/data fit entirely below a specific address.
FIT 〈
Result: Compile-time error if previous instructions/data exceed Address-1.
Explanation
The
if it is beyond Address-1 or if it is beyond $1EF (the end of general purpose Cog RAM). This
directive can be used to ensure that the previous instructions and data fit within Cog RAM, or
a limited region of Cog RAM. Note: any instructions that do not fit in Cog RAM will be left
out when the assembly code is launched into the cog. Consider the following example:
DAT
Toggle
:Loop
Pin
This code was artificially pushed into upper Cog RAM space by the
the code to overlap the first special purpose register ($1F0) and causing the
cause a compile-time error when the code is compiled.
Page 372 · Propeller Manual v1.0
FIT
Address
– Assembly Language Reference
Address
should not reach. If Address is not given, the value $1F0 is used (the address of the
first special purpose register).
directive checks the current compile-time cog address pointer and generates an error
long
is an optional Cog RAM address (0-$1F0) for which prior assembly code
ORG
mov
mov
mov
jmp
$1000
FIT
492
dira, Pin
outa, Pin
outa, #0
#:Loop
ORG
statement, causing
FIT
directive to

Related parts for 122-32000