BASCOM-8051

W95/NT/XP 8051-BASIC Compiler

BASCOM 8051 - User Guide BASCOM-8051

BASCOM 8051 - LANGUAGE REFERENCE BASCOM-8051

Available now!

BASCOM-8051 - DEMO [11 October 2007 Rel. 2.0.14.0] - Length 6,3 MB - DOWNLOAD

A new version 2.0.14.0 is released of BASCOM-8051.
There is a new Demo as well. This demo can create files of 4 KB.

You can download the DEMO from the Download section.
Customers that have BASCOM-8051 can download from the register.
You can not turn a demo into a full version!

 

BASCOM-8051© is a Windows BASIC COMPILER for the 8051 family.
It is designed to run on W95/NT/XP and has all the features of BASCOM LT.
In addition it has full support for arrays and the single floating point type.


Key Benefits


The following statements are supported :

Decision and structures
IF, THEN, ELSE, ELSEIF, END IF, DO, LOOP, WHILE, WEND, UNTIL, EXIT DO, EXIT WHILE, FOR, NEXT, TO, DOWNTO, STEP, EXIT FOR, ON .. GOTO/GOSUB, SELECT, CASE, CALL, GOSUB, GOTO, END SUB, RETURN, STOP, END.

Input and output
RINT, INPUT, INKEY, PRINTHEX, INPUTHEX, LCD, UPPERLINE, LOWERLINE,DISPLAY, PRINTBIN, CURSOR ON/OFF/BLINK/NOBLINK, HOME, LOCATE, SHIFTLCD, LCD INT, SHIFTCURSOR LEFT/RIGHT, CLS, DEFLCDCHAR, WAITKEY, INPUTBIN, INPUT HEX, PRINTBIN, LCDHEX, OPEN, CLOSE, DEBOUNCE, SHIFTIN, SHIFTOUT, BAUD, GET,PUT,PSET, SHOWPIC, SPC.

Numeric functions
AND, OR, XOR, INC, DEC, MOD, NOT, ABS, BCD, INCR, DECR, AVG, HIGH, HIGHW, LOW, LOWW, MAKE BCD, MAKEDEC, MAKEINT,MAX, MIN, RND, SWAP.

I2C BUS
I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE, I2CSEND and I2CRECEIVE.
1WIRE,1WWRITE, 1WREAD, 1WRESET, 1WIRECOUNT, 1WSEARCHFIRST, 1WSEARCNEXT.

1WIRE
1WIRE,1WWRITE, 1WREAD, 1WRESET, 1WIRECOUNT, 1WSEARCHFIRST, 1WSEARCNEXT.

SPI
SPIINIT, SPIIN, SPIOUT.

Interrupt programming
ON INT0/INT1/TIMER0/TIMER1/SERIAL, RETURN, ENABLE, DISABLE, PRIORITY.

Bit manipulation
SET, RESET, ROTATE, BITWAIT.

Variables
DIM, BIT , BYTE , INTEGER , WORD, LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT, DEFWORD, CONST, DATA, READ, RESTORE, ERASE, LOOKUP. VARPTR.

Miscellaneous
REM, ' , DELAY, WAIT, WAITMS, POWERDOWN, IDLE, DECLARE, INP,OUT, ALIAS, POKE, CPEEK, GETRC5, CONFIG, COUNTER, GETAD, LOAD, PORT, START, TIMER, READMGCARD, SOUND, STOPTIMER, WATCHDOG.

MICRO WIRE
SET, RESET, ROTATE, BITWAIT.

Compiler directives
$INCLUDE, $NOINIT, $BAUD, $CRYSTAL, $OBJ, $SERIALINPUT, $NONAN, $NONULL, $SERIALOUTPUT, $ROMSTART, $RAMSIZE, $RAMSTART, $MONSTART, $IRAMSTART, $DEFAULT XRAM, $ASM-$END ASM, $LCD, $BGF, $EXTERNAL, $LARGE, $LIB, $MAP, $NOBREAK, $NORAMCLEAR, $NOSP, $RAMTRON, $REGFILE, $SIM, $TIMEOUT.

String manipulation
STRING, SPACE, LEFT, RIGHT, MID, VAL, HEXVAL, LEN, STR, HEX, CHR, ASC, FUSING, INSTR, LCASE, LOOKUPSTR, REPLACE, UCASE.


To make a program takes just a few steps :


The program can be written in a comfortable MDI color coded editor.
Besides the normal editing features, the editor supports Undo, Redo, Bookmarks and block indention.



The simulator let you test your program before writing it to the uP.
You can watch variables, step through the program one line at the time or run to a specific line,
or you can alter variables. To watch a variables value you can also point the mousecursor over it.

A powerful feature is the hardware emulator, to emulate the LCD display, and the ports.
The LCD emulator also emulates custom build LCD characters!

When you are done with the simulator it is time to program the chip using one of the supported programmer drivers.



The program, documentation and samples are in English.


Page up-dated at Febrary 22, 2014


homeHome Software CartellaUtility The Demo Programs Es. BAS. K51