Architecture,
Assembly
Language,
And
Hardware
Interfacing
(Paperback)
Reading the Serial Port
Reading
data
received
by the
serial
port is
equally
easy. To
read a
byte
from the
serial
port one
just
needs to
read the
value
stored
in the
SBUF
(99h)
SFR
after
the 8051
has
automatically
set the
RI
flag in
SCON.