
20-38
x86 MICROPROCESSORS
SFRs, interested readers are advised to read other sources and the data sheet of 8051.
This chapter is meant to make you adept in the programming aspects of the inbuilt
peripherals of 8051.
The 8051 has only a few internal peripherals. But it has four GPIO ports—most of
these pins are free to be used, if external memory is not connected. Many peripherals
like LCDs, stepper/DC motors, relays, LED displays, etc. can be connected to these pins.
KEY POINTS OF THIS CHAPTER
l The 8051 has 40 pins, in which 32 are the pins of the four ports P0 to P3.
l Three of these ports have pins with dual functions.
l The clock frequency ...