45300 Parallax Inc, 45300 Datasheet - Page 66

BOARD PROTO SX48

45300

Manufacturer Part Number
45300
Description
BOARD PROTO SX48
Manufacturer
Parallax Inc
Type
MCUr
Datasheets

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
Part Number:
453002
Manufacturer:
LITTELFU
Quantity:
1 000
7 The SASM Assembler
Parameter substitution will occur at any point where the reference to a formal parameter can be
identified, except within string constants.
The notation "?token" will treat the actual value of the formal parameter named by "token" as if it were a
quoted string. This may be useful to use a parameter both as part of a string and as part of an operand
to an instruction. This is implemented by quoting the actual value with ASCII unit separator characters
($1f), unless it is already so quoted.
Also, the notation "?( ... )" is available to evaluate an arbitrary well-defined expression and use its value
as the text of a single actual parameter. The value is converted to text in the current default radix.
7.4.11 Macro Examples
This section shows some selected examples on how to use macros. Nevertheless, the macro features
offered by SASM are so powerful that this section can only cover a subset of what is possible.
7.4.11.1
These two macros simply replace CtrlLEDOn and CtrlLEDOff in the source code by clrb and setb
instructions, i.e. the sequence
is assembled into
The advantage of using macros here, is that it is only necessary to modify the macro definitions when
another port bit shall be assigned to control the LED later.
Page 66 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
CtrlLEDOff
Simple Macros with no Parameters
CtrlLedOn
CtrlLEDOn
call
CtrlLEDOff
clrb
call
setb
MACRO
ENDM
MACRO
ENDM
Delay
rb.0
Delay
rb.0
clrb
setb
rb.0
rb.0

Related parts for 45300