45181 Parallax Inc, 45181 Datasheet - Page 72
45181
Manufacturer Part Number
45181
Description
SX TECH TOOL KIT NO POWER
Manufacturer
Parallax Inc
Series
SXr
Type
Microcontrollerr
Datasheet
1.45180.pdf
(184 pages)
Specifications of 45181
Contents
SX Book, SX Key, SX Tech Board, Samples, Resonators, Cable and Manual
Product
Microcontroller Basic Stamps
Operating Supply Voltage
5 V
For Use With/related Products
SX MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 72 of 184
- Download datasheet (2Mb)
7 The SASM Assembler
The second expression, above, will evaluate to 11; the expression within parentheses is evaluated first.
The third expression, loop_count+10/5, will evaluate to 5; 15 + 10 = 25 / 5 = 5.
7.8
The assembler “understands” four data types: decimal, binary, hexadecimal and ASCII. Table 13 – Data
Types, below, describes these data types and their syntax.
For compatibility reasons, the notations xxxxb and xxxxh are also accepted for the binary and
hexadecimal data types, respectively. It is suggested that all new SX assembly code use the notation
listed in Table 13 – Data Types.
Any numbers that evaluate to a result greater than 32-bits wide will cause an error at assemble time.
The largest number allowed is
4_294_967_295 decimal,
$FFFF_FFFF hexadecimal, or
%1111_1111_1111_1111_1111_1111_1111_1111 binary.
7.9
SASM has an internal pre-defined constant named
(note that there are two leading underscores in the name). This allows the preparation of source code
that can contain SASM-specific code, and code that might be relevant for another SX assembler (like the
Parallax assembler) by using an IFDEF…ELSE…ENDIF block. Here is an example:
Page 72 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
Data Types
The __SASM Pre-Defined Constant
__SASM
ifdef __SASM
else
endif
DEVICE STACKX
IRC_CAL IRC_SLOW
DEVICE STACKX_OPTIONX
Data Type
Decimal
Binary
Hexadecimal
ASCII
Table 13 - Data Types
Xxxx
%xxxx
$xxxx
‘x’
Syntax
Example
1250
%01101010
$1AC6
‘S’
Related parts for 45181
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Terminals 3 Pin Single Row Header (long)
Manufacturer:
Parallax Inc
Part Number:
Description:
Headers & Wire Housings 16 Pin Single Row Header
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: