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

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
Context-Sensitive Compile Information
After an object has been compiled, the Propeller Tool displays context-sensitive compile
information on the status bar (panel 5) about the source item the cursor is currently near or
within. This is very useful in verifying and understanding the values of constants declared in
an object. For example, compile this example by pressing F9 (or selecting the Run →
Compile Current → Update Status menu option) and then place the cursor on the
in the
look similar to the figure below.
This tells us that our
hexadecimal.
Try placing the cursor on the
= 7.6 ($40F3_3333) Floating Point” to indicate this is a real number, in floating-point form,
equal to 7.6 decimal ($40F3_3333 hexadecimal) This illustrates that floating-point values are
encoded into 32 bits in a way that makes them incompatible with integer values.
In addition to symbols in
size, in bytes, of
Math
make small changes to code, press F9, check size against that of the previous code, and so on.
method is 196 bytes long. This is a great feature to use when optimizing code for size;
CON
block. The status bar will temporarily highlight the context information and should
PUB
/
PRI
iB
/
constant is defined by the
DAT
CON
B
blocks when the cursor is within that block. In our case, the
constant. The compile information should now read “CON B
and
DAT
blocks, the compile information displays shows the
CON
block to be 760 decimal, or $2F8
Propeller Manual v1.0 · Page 147
Figure 3-21:
Status Bar with
Compile Information
After a compile
operation, the status
bar’s panel 5 displays
information about the
source item nearest
the cursor.
iB
constant

Related parts for 122-32000