Welcome to the Parallax Discussion Forums, sign-up to participate.
The SX/B compiler is a BASIC language compiler for the Parallax SX family (SX20, SX28, SX48) microcontroller (as well as the older Ubicom™ SX18 and SX52), and was designed to meet two specific goals:
1 Expedite the task of the professional engineer by creating a simple, yet robust high-level language for the SX microcontroller. This allows SX-based projects to be prototyped and coded quickly.
2 Assist the student programmer wishing to make the transition from pure high-level programming (i.e., PBASIC) to low-level programming (SX assembly language).
SX/B is an non-optimizing, inline compiler. What this means is that each BASIC language statement is converted to a block of assembly code in-line at the program location; no attempt is made to remove redundant instructions that would optimize code space. This allows the advanced programmer to modify code as required for specific projects, and -- perhaps more importantly -- provides an opportunity for the student to learn SX assembly language techniques by viewing a 1-for-1 (from BASIC to assembly language) output