18
Rabbit
2000
Microprocessor
In
addition, a number of origin declarations are made in the BIOS to tell the Dynamic C
compiler
where to place different types of code and data. The compiler maintains a num-
ber
of assembly counters that it uses to place or allocate root code, extended code, data
constants,
data variables, and extended data variables. Each of these counters has a start-
ing
location and a block size.
5.2
BIOS Flowchart
The
following flowchart summarizes the functionality of the BIOS:
Figure
5.
BIOS
Flowchart
Start
at
address
0
Initialize
BIOS
Flag?
Yes
Relocate
BIOS
if
necessary.
Clear
flag in
source
code.
Setup
memory
control
and ba-
sic
BIOS ser-
vices.
Is
the program-
ming
cable
connected?
Start
Dynamic C
communications
and
state ma-
chine.
Divert
to BIOS
service?
Act
as master
for
program
cloning.
Service
diag-
nostic
port.
(not
yet
available)
Remote
pro-
gram
down-
load.
(not yet
available)
Call
user appli-
cation
program
(main).
BIOS
services
for
user appli-
cation
pro-
gram.
Application
Program
Содержание 2000
Страница 1: ...Rabbit 2000 Microprocessor Designers Handbook Revision C...
Страница 4: ...Rabbit 2000 Microprocessor...
Страница 6: ...2 Rabbit 2000 Microprocesssor...
Страница 12: ...8 Rabbit 2000 Microprocessor...
Страница 34: ...344 Dynamic C User s Manual...
Страница 36: ...34 Rabbit 2000 Microprocessor...
Страница 44: ...42 Rabbit 2000 Microprocessor...