Architecture,
Assembly
Language,
And
Hardware
Interfacing
(Paperback)
Register
Banks
The 8051
uses 8
"R"
registers
which
are used
in many
of its
instructions.
These
"R"
registers
are
numbered
from 0
through
7 (R0,
R1, R2,
R3, R4,
R5, R6,
and R7).
These
registers
are
generally
used to
assist
in
manipulating
values
and
moving
data
from one
memory
location
to
another.
For
example,
to add
the
value of
R4 to
the
Accumulator,
we would
execute
the
following
instruction: