45205 Parallax Inc, 45205 Datasheet - Page 107
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: 107 of 184
- Download datasheet (2Mb)
The following code snippet demonstrates this:
Sub1
Sub2
Start
Continue
_Sub1
_Sub2
The first CALL in the Start routine calls the Sub1 address in the jump table. The JMP command at Sub1
then jumps to the _Sub1 subroutine (in page 2) which eventually returns to the line following the CALL.
The RETP command used to return from the subroutine resets the page select bits to the page of the
calling routine (exactly as intended).
The @ symbol preceding the addresses causes the SX editor to insert a PAGE instruction just before the
JMP and CALL commands to set the page select bits appropriately. The first CALL, in the Start routine,
would function the same without an @ symbol, as shown above, since the destination address is within
the current page. See Chapter 15.2.16 – Calling Across Pages for more information.
ORG
; Define the subroutine jump-table
;
JMP
JMP
; Start of main routines
;
CALL
JMP
ORG
CALL
JMP
ORG
; Subroutine 1 code goes here
;
RETP
; Subroutine 2 code goes here
;
RETP
$0
@_Sub1
@_Sub2
@Sub1
@Continue
$200
@Sub2
@Start
$400
10 SX Special Features and Coding Tips
; This routine is in page 0
; Set page and jump
; Call the Jump Table
; This routine is in page 1
; Call the Jump Table
; This routine is in page 2
; Return and reset page
; Return and reset page
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 107
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: