Difference between revisions of "emBASIC"

From SEGGER Wiki
Jump to: navigation, search
m
m
Line 22: Line 22:
 
* VERSION
 
* VERSION
 
* NET LOAD
 
* NET LOAD
*: Example net load "life.bas"
+
*: Example: net load "life.bas"
 
* NET CATALOG
 
* NET CATALOG
 
The software is showcased here, with a fully functional simulator: https://www.segger.com/showcase/#embasic
 
The software is showcased here, with a fully functional simulator: https://www.segger.com/showcase/#embasic

Revision as of 16:02, 4 July 2019

emBASIC is a SEGGER software library implementing a BASIC interpreter for Embedded Systems. It is targeted to microcontrollers and is written to use SEGGER's embedded software. emBASIC is easily portable and runs on a variety of hardware, as well as a PC simulation. emBASIC makes it easy to write small application programs without needing to purchase and master typical development equipment such as compilers, debuggers, and JTAG emulators.

The feel of emBASIC is very much that of an 1980-vintage BASIC interpreter running on personal computers of that decade. emBASIC is a fusion of ideas from many different implementations of BASIC, with some unique features thrown in.

Commands

Standard, interactive

  • EDIT
  • LIST
  • RUN

Standard, program mode

  • END
  • PRINT
  • GOSUB
  • GOTO

emBASIC enhancements

Interactive Mode

  • HELP
  • CREDITS
  • VERSION
  • NET LOAD
    Example: net load "life.bas"
  • NET CATALOG

The software is showcased here, with a fully functional simulator: https://www.segger.com/showcase/#embasic