bascom8051.pdf

(4210 KB) Pobierz
BASCOM-8051
© MCS Electronics, 1995-2006
© MCS Electronics , 1995-2006
page -1-
 
607501188.003.png
© MCS Electronics, 1995-2006
page -2-
 
© MCS Electronics, 1995-2006
Dear reader.
Thank you for your interest in BASCOM.
BASCOM was "invented" in 1995. It was intended for personal usage only. I
decided to make it public as I found no other tool that was so simple to use.
Since that time, a lot of options and extensions were added. Without the help
and patience of the many users, BASCOM would not be what it is today : "the
best and most affordable tool for fast proto typing".
We hope that BASCOM will contribute in making your work with
microprocessors Easy and enjoyable.
The MCS Electronics Team
page -3-
 
© MCS Electronics, 1995-2006
Table of Contents
INDEX
11
Keyword Reference
11
Installing BASCOM-8051
13
BASCOM IDE
19
RUNNING BASCOM-8051
19
BASCOM IDE
20
File New
21
File Open
21
File Close
22
File Save
22
File Save As...
22
File Print Preview
22
File Print
23
File Exit
23
Edit Undo
24
Edit Redo
24
Edit Copy
24
Edit Cut
24
Edit Paste
25
Edit Find
25
Edit Find Next
25
Edit Replace
26
Edit Goto
26
Edit Indent Block
27
Edit Unindent Block
27
Editor Keys
28
Program Compile
29
Program Syntax check
30
Program Show Result
30
Program Simulate
31
Program Send to chip
34
Tools Terminal Emulator
35
Tools LCD designer
36
Tools Graphic Converter
36
Tools LIB Manager
37
Tools Triscent Converter
39
Tools Export to RTF
39
Options Compiler Output
39
Options Compiler Communication
40
Options Compiler I2C
41
Options Compiler LCD
42
Options Compiler Misc
42
Options Communication
43
Options Environment
44
Options hardware simulator
47
Options Programmer
47
page -4-
607501188.001.png
© MCS Electronics, 1995-2006
Options Monitor
47
Options Printer
48
Window cascade
49
Window Tile
49
Window arrange icons
49
Window minimize all
49
Help About
49
Help Index
50
Help on help
50
Help Shop
50
Help Forum
51
Help Support
51
Help Credits
51
Language fundamentals
52
Language fundamentals
52
BASCOM Language Reference
59
BASCOM Statements
59
#IF
62
#ELSE
63
#ENDIF
64
1WIRE
65
1WIRECOUNT
66
1WSEARCHFIRST
68
1WSEARCHNEXT
69
$ASM - $END ASM
71
$BAUD
72
$BGF
72
$CRYSTAL
74
$DEFAULT XRAM
75
$EXTERNAL
75
$INCLUDE
76
$IRAMSTART
77
$LARGE
77
$LIB
78
$LCD
78
$LCDRS
79
$MAP
79
$NOBREAK
80
$NOINIT
81
$NONAN
81
$NONULL
82
$NORAMCLEAR
82
$NOSP
83
$OBJ
83
$RAMSIZE
84
$RAMTRON
84
$RAMSTART
86
$REGFILE
87
$ROMSTART
87
page -5-
607501188.002.png
Zgłoś jeśli naruszono regulamin