45300 Parallax Inc, 45300 Datasheet - Page 106
45300
Manufacturer Part Number
45300
Description
BOARD PROTO SX48
Manufacturer
Parallax Inc
Type
MCUr
Specifications of 45300
Contents
Board
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SX48
For Use With
130-28029 - KIT PARTS SMART SENSORS45111 - MANUAL FOR SX-KEY/BLITZ VER. 2.028850 - CARRIER BOARD BOARD OF EDU USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
453001
Manufacturer:
LITTELFUSE/力特
Quantity:
20 000
Company:
Part Number:
453002
Manufacturer:
LITTELFU
Quantity:
1 000
- Current page: 106 of 184
- Download datasheet (2Mb)
10 SX Special Features and Coding Tips
The following code snippet demonstrates this:
The @ symbol preceding the address causes the assembler to insert a PAGE instruction just before the
JMP to set the page select bits appropriately. The second JMP in line three does not require an @ symbol
since the destination address is within the current page. If the @ was left out of line two, the SX would
jump to address $000 instead of $200. See Chapter 15.2.14 - Jumping Across Pages for more
information.
10.6.2 Calling Across Pages with Jump Tables
Calling subroutines can pose even more boundary problems than jumping across pages. The CALL
instruction uses only an 8-bit address as the operand (the 9
limits the calling destination to the first 256 words of the current page.
Because it is sometimes impossible to organize all subroutines within such a tight space, a common
practice is to make use of a subroutine jump table. The jump table consists of a list of JMP commands to
various subroutines and is located within the first 256 words of the page. The CALL instructions can
simply call the proper location within the jump table and code execution jumps to the appropriate
subroutine, even if it exists in different pages or above the 256 word barrier.
To call subroutines across page boundaries:
Page 106 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
1) Design a jump table with the page-set option (the @ sign preceding the addresses).
2) Place the subroutines in any desired location being sure to end them with RETP.
3) Call the subroutine’s alias-name in the jump table.
Start
Routine
ORG $0
JMP @Routine ; Jump to proper page
JMP Start
ORG $200
JMP @Start
; This routine is in page 0
; This routine is in page 1
; Jump back to proper page
th
bit of the address is always cleared). This
Related parts for 45300
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
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:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: