
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.
Introduction to Microcontroller programming using BASCOM.

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.
Input and output
PRINT, INPUT, INKEY, PRINTHEX, INPUTHEX,
LCD, UPPERLINE, LOWERLINE,DISPLAY ON/OFF, CURSOR ON/OFF/BLINK/NOBLINK,
HOME, LOCATE, SHIFTLCD LEFT/RIGHT, SHIFTCURSOR LEFT/RIGHT, CLS,
DEFLCDCHAR, WAITKEY, INPUTBIN, PRINTBIN, LCDHEX, OPEN, CLOSE,
DEBOUNCE, SHIFTIN, SHIFTOUT.
Numeric functions
AND, OR, XOR, INC, DEC, MOD, NOT,
ABS, BCD.
I2C
I2CSTART, I2CSTOP, I2CWBYTE, I2CRBYTE,
I2CSEND and I2CRECEIVE.
1WIRE
1WWRITE, 1WREAD, 1WRESET.
SPI
SPIINIT, SPIIN, SPIOUT.
Interrupt programming
ON INT0/INT1/TIMER0/TIMER1/SERIAL,
RETURN, ENABLE, DISABLE, PRIORITY SET/RESET, COUNTERx, CAPTUREx,
INTERRUPTS, CONFIG, START, LOAD.
Bit manipulation
SET, RESET, ROTATE, BITWAIT.
Variables
DIM, BIT , BYTE , INTEGER , WORD,
LONG, SINGLE, STRING , DEFBIT, DEFBYTE, DEFINT, DEFWORD.
Miscellaneous
REM, ' , SWAP, END, STOP, CONST,
DELAY, WAIT, WAITMS, GOTO, GOSUB, POWERDOWN, IDLE, DECLARE, CALL,
SUB, END SUB, MAKEDEC, MAKEBCD, INP,OUT, ALIAS, DIM , ERASE, DATA,
READ, RESTORE, INCR, DECR, PEEK, POKE, CPEEK, GETRC5.
Compiler directives
$INCLUDE, $NOINIT, $BAUD and $CRYSTAL,
$OBJ, $SERIALINPUT, $SERIALOUTPUT, $ROMSTART, $RAMSIZE, $RAMSTART,
$MONSTART, $IRAMSTART, $DEFAULT XRAM, $ASM-$END ASM, $LCD.
String manipulation
STRING, SPACE, LEFT, RIGHT, MID,
VAL, HEXVAL, LEN, STR, HEX
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.
| Description | Price |
|---|---|
| BASCOM-8051, BASIC Compiler with helpfile and printed shortguide. |
Euro 79,00 |
| BASCOM-AVR cross upgrade for BASCOM users | Euro 55,00 |
Page up-dated at October 11, 2007
GRIFO®
Via dell'Artigiano, 8/6
40016 San Giorgio di Piano
Bologna ITALY
Tel: +39 051 892.052 (4 lines)
FAX: +39 051 893.661