English
Language : 

45111 Datasheet, PDF (81/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
8 The Parallax Assembler
8.3 Symbols
Symbols are handled by the Parallax Assembler similar to SASM. Therefore, refer to Chapter 7.5 -
Symbols for more details.
8.4 Labels
Global, local, and macro Labels are also available in the Parallax Assembler. For more details about
Labels refer to Chapter 7.6 – Labels.
Unlike SASM, global or local labels in source code for the Parallax Assembler may be indented, i.e. they
must not necessarily begin in column 1 of a text line.
8.5 Expressions
Expressions are handled by the Parallax Assembler similar to SASM. Therefore, refer to Chapter 7.7 –
Expressions for more details.
8.6 Error Messages
Table 17 – Parallax Assembler Error Messages, below, summarizes the error messages that might be
generated by the Parallax Assembler in alphabetic order together with brief explanations in most cases.
Table 17 - Parallax Assembler Error Messages
Message
“=” must be preceded by a variable
“\” only allowed in MACRO
definition
CALL must be to first half of page
Constant exceeds 32 bits
Constant exceeds 64 digits
Clock frequency must be from 400_000
to 110_000_000
ELSE/ENDIF must be preceded by IF
Empty string
ENDIF required to end IF block
ENDM required to end MACRO
definition
ENDR must be preceded by REPT
ENDR required to end REPT block
EQU must be preceded by a label
Explanation
No valid symbol exists to the left of the “=”. Check for mistyped symbol. Watch
out for different case when the CASE directive is used. Make sure symbol is not a
reserved word.
The macro argument symbol, “\”, is a meaningless character outside of macros.
The destination address of the CALL instruction points to the second half of a
page. See section 10.6.2 for more information.
The SX-Key assembler can not handle constants whose value is larger than 32 bits
or 64 digits.
The SX-Key assembler can not handle constants whose value is larger than 32 bits
or 64 digits.
Designated frequency used in the FREQ directive is outside the range. The SX-Key
can only clock the SX chip between 400 KHz and 110 KHz.
Check for missing or commented-out IF directive above the ELSE/ENDIF.
Look for undefined string within quotes.
Check for missing or commented-out ENDIF directive below the IF.
Check for missing or commented-out ENDM at the end of a MACRO definition.
Check for missing or commented-out REPT directive above the ENDR.
Check for missing or commented-out ENDR directive below the REPT.
A valid symbol must precede the EQU directive. Check for mistyped symbol.
Watch out for different case when the CASE directive is used.
SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. • Page 81