45205 Parallax Inc, 45205 Datasheet - Page 104
45205
Manufacturer Part Number
45205
Description
SX TECH BOARD
Manufacturer
Parallax Inc
Type
MCUr
Datasheet
1.45180.pdf
(184 pages)
Specifications of 45205
Contents
Board
For Use With/related Products
SX MCUs
For Use With
28825 - MINI SOUND PLAYER SOUNDPAL130-28029 - KIT PARTS SMART SENSORS
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 104 of 184
- Download datasheet (2Mb)
10 SX Special Features and Coding Tips
The following code snippet demonstrates this:
Table
Main
MainLoop
If 8-bit or 12-bit data is required, the DW method may be used to create the data table. This method uses
a set of DW (Define Word) directives each of which place a 12-bit data value in program memory. By
moving a 12-bit index value to M and W (upper 4 bits of address in M) and executing an IREAD
command, M and W are replaced with the 12-bit data value.
To create an 8-bit or 12-bit data table with the DW directive:
When data is needed from the table, move the index value of the desired item (in relation to the label) to
M and W and execute an IREAD. Upon returning, the 12-bit value is in M and W.
Page 104 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) Set the table’s location and insert a label.
2) Add as many DW directives as necessary.
RESET Main
Idx
; 8-bit data table
;
ORG
JMP
RETW
RETW
MOV
INC
MOV
CALL
EQU $08
$0
PC+W
'ABCDEFG'
10, 100, 255, 0
Idx, #$FF
Idx
W, Idx
Table
; Define index symbol
; Jump into the table
; Store text
; Store numbers
; Reset table index
; Increment table index
; Retrieve data
Related parts for 45205
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
D-Subminiature Connectors DB9 Male Connector
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: