EasyManua.ls Logo

Rabbit 2000 - Page 24

Rabbit 2000
45 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
22 Rabbit
2000
Microprocessor
Dynamic
C
defines
macros
that
include
information
about
compiling
to
RAM
or
flash
and
identifying
memory
device
types,
memory
sizes,
and
board
type.
The
origin
setup
shown
above
differs
from
that
included
in
the
standard
BIOS
included
with
Dynamic
C
as
the
standard
BIOS
uses
additional
macros
values
for
dealing
with
a
wider
range
of
boards
and
memory
device
types.
5.5.1
Origin
Directives
in
Program
Code
In
order
to
either
place
programs
in
different
places
in
root
memory,
or
in
order
to
compile
a
boot
strapping
program
such
as
a
pilot
BIOS
or
coldloader,
origin
statements
may
be
used
in
the
users
program
code.
For
example,
the
first
line
of
a
pilot
BIOS
program,
pilot.c,
would
be
#rcodorg rootcode 0x0 0x0 0x6000 apply
A
program
with
such
an
origin
directive
could
only
be
compiled
to
a
BIN
file,
because
compiling
it
to
the
target
would
overwrite
the
running
BIOS.
xmemcode
stack
rootdata
rootcode
Logical
Address
Space
Physical
Address
Space
watcode/watdata
0000
6000
C
5FF
CDFF
FFFF
E
000
0x00000
0x06000
0x20000
0x9700
0
0x9DDF
F
0xFFFF
F
rootcode
xmemcode
rootdata
watcode
watdata

Other manuals for Rabbit 2000