45300 Parallax Inc, 45300 Datasheet - Page 69
![BOARD PROTO SX48](/photos/9/25/92507/mfg_45300_sml.jpg)
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: 69 of 184
- Download datasheet (2Mb)
defines the symbol loop_count to be equal to the number 10, and the symbol index to be equal to the
hexadecimal number 08. During assembly, everywhere the symbol loop_count appears in the code, the
number 10 will be used. Similarly, the hexadecimal number 08 will be used in place of the symbol index
during assembly.
Symbols are a great way to define names for registers and constants that would otherwise appear in
many places of a program as just non-descriptive numbers. Assembly code that makes ample use of
symbols is easier to read and debug and requires fewer comments.
The = directive also assigns values to symbols, but unlike EQU, can reassign values to those symbols.
This directive is useful in macros or repeat blocks to create assemble-time variables.
For example:
stores the values 2, 8, 14, 20 and 26 in memory locations $20 through $24 at assemble-time.
7.6
Labels are descriptive names that are given to sections of code. Similar to symbol names, label names
can consist of up to 32 alphanumeric and underscore (_) characters and must start with a letter or
underscore. SASM expects labels to begin at column 1 of the program line, unless the Local Labels Must
Start In Col. 1 checkbox is unchecked in the Configure dialog. Labels are used to direct code execution to
specific routines, and are defined simply by specifying the label name before the routine. For example:
defines the label Main to point at the first line of code. Later in the program (the second line in this
example) to continue execution back at the first line, the jump command is used with the argument
Main. This is usually read as, “jump to Main.”
There are three types of labels: global, local, and macro. A global label is one that is unique for the entire
length of the code. No two global labels can exist with the same name. A local label is one that is unique
for only a portion of the code and must begin with a colon (:). A local label can have the same name as
one or more other local labels in a program but they must be separated by at least one global or macro
Labels
loop_count
index
Count
ORG
REPT
ENDR
Main
EQU 10
EQU $08
= 0
$20
5
DW Count + 1 * 2
Count = Count + 3
mov index, #15
jmp main
SX-Key/Blitz Development System Manual 2.0 Parallax, Inc. Page 69
7 The SASM Assembler
Related parts for 45300
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: