45214 Parallax Inc, 45214 Datasheet - Page 66

no-image

45214

Manufacturer Part Number
45214
Description
PROGRAMMER SX-KEY USB
Manufacturer
Parallax Inc
Type
In-System Programmerr
Datasheet

Specifications of 45214

Contents
Programmer Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
SX MCUs
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH45111 - MANUAL FOR SX-KEY/BLITZ VER. 2.028138 - BOARD DEV PROFESSIONAL
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
Q4044550
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 45214