45111 Parallax Inc, 45111 Datasheet - Page 6

MANUAL FOR SX-KEY/BLITZ VER. 2.0

45111

Manufacturer Part Number
45111
Description
MANUAL FOR SX-KEY/BLITZ VER. 2.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 45111

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Parallax microcontroller
For Use With
70002PAR - GUIDE PROG THE SX MICRO -DAUBACH
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Table of Contents
8
Page 6 SX-Key/Blitz Development System Manual 2.0 Parallax, Inc.
7.4
7.5
7.6
7.7
7.8
7.9
7.10 Files created by SASM ..........................................................................................................................................73
7.11 SASM Warning and Error Messages...................................................................................................................74
7.12 Reserved Words and Symbols .............................................................................................................................78
The Parallax Assembler ...................................................................................................................................................79
8.1
8.2
8.3
8.4
8.5
8.6
7.3.11
7.3.12
7.3.13
7.3.14
7.3.15
7.3.16
7.3.17
7.3.18
7.3.19
7.3.20
7.3.21
7.3.22
7.3.23
7.3.24
Macros.....................................................................................................................................................................62
7.4.1
7.4.2
7.4.3
7.4.4
7.4.5
7.4.6
7.4.7
7.4.8
7.4.9
7.4.10
7.4.11
7.4.12
7.4.13
Symbols...................................................................................................................................................................68
Labels ......................................................................................................................................................................69
Expressions.............................................................................................................................................................70
Data Types..............................................................................................................................................................72
The __SASM Pre-Defined Constant ....................................................................................................................72
The Structure of an SX Assembly Program........................................................................................................79
Assembler Directives ............................................................................................................................................79
8.2.1
Symbols...................................................................................................................................................................81
Labels ......................................................................................................................................................................81
Expressions.............................................................................................................................................................81
Error Messages.......................................................................................................................................................81
The ID Directive.....................................................................................................................................53
The IF…ELSE…ENDIF Directive ........................................................................................................53
The IF{N}DEF…ELSE…ENDIF Directives .........................................................................................54
The INCLUDE Directive.......................................................................................................................55
The IRC_CAL Directive ........................................................................................................................56
The LIST Directive .................................................................................................................................56
The LPAGE Directive............................................................................................................................57
The ORG (Origin) Directive .................................................................................................................57
The RADIX Directive ............................................................................................................................58
The REPT Directive ...............................................................................................................................58
The RESET Directive .............................................................................................................................59
The SPAC Directive...............................................................................................................................59
The TITLE and STITLE Directives.......................................................................................................60
The WATCH Directive..........................................................................................................................60
The MACRO Directive..........................................................................................................................62
The ENDM Directive.............................................................................................................................63
The EXITM Directive.............................................................................................................................63
The LOCAL Directive ...........................................................................................................................63
The EXPAND and NOEXPAND Directives.......................................................................................63
Formal Parameters.................................................................................................................................64
Macro Invocation...................................................................................................................................65
Actual Values of Parameters ................................................................................................................65
Token Pasting.........................................................................................................................................65
Quoting ...................................................................................................................................................65
Macro Examples.....................................................................................................................................66
7.4.11.1 Simple Macros with no Parameters.....................................................................................66
Macros with Formal Parameters by Count ........................................................................................67
Macros with Formal Parameters by Name.........................................................................................68
The Device Directive .............................................................................................................................79

Related parts for 45111