Subtotal: 0
View Cart

SX/B Compiler

SX/B is a BASIC compiler that allows you to develop professional and powerful applications using the SX series of microcontrollers. Interfacing with other devices is easy because SX/B has high-level commands for Serial, SPI, I2C and 1-wire.

The SX/B compiler is built right into the free SX-Key IDE software. It supports the entire SX series SX20, SX28, and SX48. BASIC keywords are highlighted automatically within the editor. The help file has a comprehensive list of all of the SX/B commands and many examples of their use. 

With SX/B, interrupts have never been easier. Creating a periodic interrupt every millisecond is as simple as “INTERRUPT 1000”. Best of all there is no restriction on what commands can be used in an interrupt routine. Interrupts on the SX microcontrollers are designed to be deterministic, so very accurate timing can be generated with interrupt code.

The Parallax support forum for SX/B is very active. Sometimes questions are answered within the hour. And not just simple questions, some of the best SX/B users patrol the forum daily. Don’t spend hours or days trying to get your code working, take a couple minutes and put a thread on the forum.

Because speed is one of  the SX’s best features, the compiler generates code “in-line”. That is each line of BASIC code generates the code to completely perform the BASIC code. This creates code that executes quickly, and allows users who are interested in assembly language to see “how it’s done”. And if you simply must have some assembly code in your program, SX/B allows you to add it easily using ASM...ENDASM. Or, single lines of assembly can simply be prefixed with a slash.

SX/B has powerful subroutine and function handling. The compiler performs parameter checking and subroutine and function name do not require any “GOSUB” or “CALL” prefixes. It’s like the subroutine or function is part of the language. You can even create subroutines and functions that have optional parameters.

The SX microcontrollers also have integrated debugging facilities. Using the SX-Key programmer you can watch variables, set break points and single-step your code. The debugger also shows all the registers and a complete memory map. The SX-Key also contains a frequency generator that allows you to run your code at clock speeds from 400 kHz to 100 MHz with crystal-controlled accuracy.

*Note that the SX-Blitz does NOT support debugging or clock frequency generation.

Quick downloads:

SX/B Update - SX/B version 1.51 (.zip 200KB) [Dated: 07/24/06]
Directions for Install:

Open the zip file and copy them into the folder:
"C:\Program Files\Parallax Inc\SX-Key v3.2\Compilers\SXB"
Overwrite the existing files that are already there.

Read the file "Whats New.txt" to see what's new.

  • New Directive "PIN"
  • New Command "ANALOGIN"
  • Conditional Compiling

Specific and Exclusive Features:

The SX48BD:

  • Control of the two SX48 hardware timers. (TIMER1, TIMER2 command).
  • Arrays may use all of the array space, unlike the SX28 arrays which are limited to 16 elements.
  • Pin configuration can be changed on-the-fly. PULLUP, SCHMITT, CMOS, and TTL.

SX/B Additional Information:

 
  • Practical SX/B Parts 1-2
    SX/B is a specialized version of the BASIC language and a compiler for the SX microcontroller line. Not available in printed version.
 
 
  • SX/B Hardware
    See how the SX-Key hardware connections are made between the PC, the SX-Key programming tool, and the SX chip on an SX Tech Board.
 
  • SX/B Forum Support
    SX/B developers, SX-Key IDE engineers, our SX-Key tool designers, and customers who have been using SX/B through our beta test period actively contribute to our technical support for. Parallax monitors this list continuously.
 
Home    |    Contact Us    |    Job Opportunities    |    About Parallax    |    Privacy Statement    |    Terms Of Use    |    Copyright 2008 by Parallax, Inc.