Reserved words

The following table shows the reserved BASCOM statements.

!

;

$INCLUDE

$NOINIT

$NOSP

$NOBREAK

$BAUD

$BGF

$DEFAULT

$CRYSTAL

$LARGE

$ROMSTART
$SERIALINPUT
$SERIALOUTPUT
$SIM
1WRESET
1WREAD
1WWRITE
ACK

ALIAS

ABS()
AND
AS
ASC()
BAUD

BCD()

BIT
BITWAIT
BLINK
BOOLEAN
BREAK
BYTE
CALL

CASE

CLS
CHR()
CONFIG
CONST
COUNTER
COUNTER0
DEC

COUNTER1

CPEEK()
CURSOR
DATA
DECLARE
DEFBIT
DEFBYTE
DEFLCDCHAR

DEFINT

DEFWORD
DELAY
DIM
DISABLE
DISPLAY
DO
DOWNTO
ELSE
ELSEIF
ENABLE
END
ERR
EXIT
EXTERNAL
FOR
FOURTH
FOURTHLINE
GATE
GETAD
GOSUB
GOTO
HEXVAL()
HIGH()
HIGHW()
HOME
I2CRECEIVE
I2CSEND
I2CSTART
I2CSTOP
I2CRBYTE
I2CWBYTE
IDLE
IF
INC
INKEY
INPUT
INPUTHEX
INT0
INT1
INTEGER
INTERNAL
IS
LCD
LCDHEX
LEFT
LEFT()
LOAD
LOCATE
LONG
LOOKUP
LOOP
LOW()
LOWW()
LOWER
LOWERLINE
MAKEBCD()
MAKEDEC()
MAKEINT()
MID()
MOD
MODE
NACK
NEXT
NOBLINK
NOSAVE
NOT
OFF
ON
OR
P0-P6
PEEK()
POKE
POWERDOWN
PSET
PRINT
PRINTHEX
PRIORITY
READ
READEEPROM
REM
RESET
RESTORE
RETURN
RIGHT
RIGHT()
RND()
ROTATE
SELECT
SERIAL
SET
SHIFT
SHIFTLCD
SHIFTCURSOR
SHIFTIN
SHIFTOUT
SHOWPIC
SOUND
SPACE()
START
STEP
STR()
STRING()
STOP
STOP TIMER
SUB
SWAP
THEN
THIRD
THIRDLINE
TIMEOUT
TIMER0
TIMER1
TO
UNTIL
UPPER
UPPERLINE
VAL()
WAIT
WAITKEY
WAITMS
WATCHDOG
WRITEEEPROM
WEND
WHILE
WORD

XOR

 
The internal registers are also reserved words (variables)
 
TCON
P1
SCON
IE
P3
IP
PSW
ACC
B
SP
DPL
DPH
PCON
TMOD
TL0
TL1
TH0
TH1
SBUF
 
 
Note that you can change the internal registers with the Register File settings from the Options menu.