English
Language : 

45111 Datasheet, PDF (121/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
13 Appendix C: SX Instruction Set
13 Appendix C: SX Instruction Set
13.1 Introduction
The columns of each instruction definition table in this appendix contain important information about
the instruction’s behavior, size and structure.
The Command column lists all the available forms of the given command. The operands in lower-case
letters indicate a symbol or value should be inserted in their place. The operands in upper-case letters
should be entered exactly as seen. For example, the following form of the MOV command:
MOV !OPTION, #literal
should be entered into code (assuming $A5 is the desired literal) as follows:
MOV !OPTION, #$A5
The operands are described in Table 26 - Symbol and Value Operands, below.
Table 26 - Symbol and Value Operands
Symbol
addr8
addr9
addr12
fr
#literal
M
op.bit
!OPTION
PC
!port
W
!WDT
Definition
An 8-bit address symbol or value
A 9-bit address symbol or value
An 11-bit (SX20/28) or 12-bit (SX48/52) address symbol or value
A file register
A literal value (‘#’ must precede value)
The mode register
The specified bit of the specified operand
The option register
The program counter
The specified I/O port data direction reg.
The working register
The watchdog register
The Words column indicates the number of 12-bit EEPROM words consumed by the instruction.
The Cycles column indicates the number of clock cycles the given instruction will take. The number
outside of parenthesis is the number of cycles in Turbo mode. The number inside parenthesis is the
number of cycles in non-Turbo mode (compatibility mode).
SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. • Page 121