English
Language : 

45111 Datasheet, PDF (7/184 Pages) List of Unclassifed Manufacturers – 14-DAY MONEY BACK GUARANTEE
Table of Contents
8.7 Data Types..............................................................................................................................................................83
8.8 Reserved Words and Symbols .............................................................................................................................84
9 Upgrading Existing Code for SASM ..............................................................................................................................85
10 SX Special Features and Coding Tips ............................................................................................................................87
10.1 Introduction ...........................................................................................................................................................87
10.2 Port Configuration and Usage .............................................................................................................................87
10.2.1 Port Direction .........................................................................................................................................88
10.2.2 Pull-Up Resistors ...................................................................................................................................89
10.2.3 Logic Level..............................................................................................................................................90
10.2.4 Schmitt-Trigger ......................................................................................................................................91
10.2.5 Edge Detection .......................................................................................................................................92
10.2.6 Wakeup (Interrupt) on Edge Detection ..............................................................................................93
10.2.7 Comparator ............................................................................................................................................95
10.3 The SX48/52 Multi-Function Timers ..................................................................................................................96
10.3.1 PWM Mode ............................................................................................................................................97
10.3.2 Software Timer Mode............................................................................................................................98
10.3.3 External Event Counter.........................................................................................................................98
10.3.4 Capture/Compare Mode......................................................................................................................98
10.4 All About Interrupts .............................................................................................................................................99
10.4.1 RTCC Rollover Interrupts...................................................................................................................100
10.5 Creating Tables ....................................................................................................................................................103
10.5.1 Data Tables ...........................................................................................................................................103
10.6 Dealing with Code Pages ...................................................................................................................................105
10.6.1 Branching Across Pages......................................................................................................................105
10.6.2 Calling Across Pages with Jump Tables ...........................................................................................106
11 Appendix A: SX Features ..............................................................................................................................................109
11.1 Introduction .........................................................................................................................................................109
11.2 CPU Features .......................................................................................................................................................109
11.3 Peripheral and I/O Features ..............................................................................................................................109
12 Appendix B: Instruction Set Overview........................................................................................................................111
12.1 Introduction .........................................................................................................................................................111
12.2 Instruction Set Summary ....................................................................................................................................111
12.3 Single Word Instructions....................................................................................................................................114
12.4 Multi-Word Instructions.....................................................................................................................................116
12.5 Instruction Set Quick Reference ........................................................................................................................118
13 Appendix C: SX Instruction Set ....................................................................................................................................121
13.1 Introduction .........................................................................................................................................................121
14 Appendix D: The SX Tech Board..................................................................................................................................145
14.1 SX Tech Board Features ......................................................................................................................................145
14.2 Connecting and Downloading...........................................................................................................................146
14.3 SX Tech Board Schematic ...................................................................................................................................147
15 Appendix E: SX Data Sheet ...........................................................................................................................................149
15.1 Pinout Information and Descriptions ...............................................................................................................149
15.2 Architecture..........................................................................................................................................................150
15.2.1 Instruction Pipeline .............................................................................................................................151
SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. • Page 7