please dont rip this site

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:

  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., BASIC Stamp®) 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.


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,
TOP NEW HELP FIND: 
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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/parallax/sxb/sxb/overview.htm"> SX/B Overview</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2025 contributors:
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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .