SX/B Compiler Overview |
The SX/B (SX BASIC) compiler is a BASIC language compiler for the Ubicom™ SX family (SX18, SX20, SX28, SX48, and SX52) microcontroller designed to meet two specific goals:
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.
Conventions Used in this Document
In syntax descriptions, curly braces {} are used to indicate optional items. For example:
PULSOUT Pin, Duration {, Resolution}In this case, the parameter for Resolution is optional.
In syntax descriptions, brackets [] indicate that the parameter must be one of the presented items (separated with the pipe | character). For example:
DEVICE [SX18 | SX20 | SX28 | SX48 | SX52] {, ...}In this case, the DEVICE directive must indicate SX18, SX20, SX28, SX48, or SX52 (and may also include other optional items).
Example code is presented on a blue-tinted background:
Main: FOR RB = 0 TO 255 PAUSE 100 NEXT END
file: /Techref/parallax/sxb/sxb/overview.htm, 2KB, , updated: 2006/4/10 14:47, local time: 2025/7/16 02:43,
216.73.216.26,10-3-84-166:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/parallax/sxb/sxb/overview.htm"> SX/B Overview</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.