2. General-purpose Microprocessors
CPU
No RAM
No ROM
No I/O ports
RAM
Address bus
Data bus
ROM Printer Disk Monitor Keyboard
Control bus
Microprocessor
CPU
Write
Read/
3. General-purpose Microcontroller
CPU (microprocessor)
RAM
ROM
I/O ports
Timer
ADC and other peripherals
Serial
COM
Port
TimerI/O
ROMRAMCPU
Microcontroller
4. Features Of 8051
128 bytes of RAM
4 K bytes of on-chip ROM
Two timers
One serial port
Four I/O ports, each 8 bits wide(i.e. 32 I/O pins.)
6 interrupt sources
Commercially available version of 8051 run on 12 MHz to 18 MHz
7. Functional Description Block
Accumulator
- SFR
- It can be accessed through its SFR adder 0E0H.
B Register
- Use as temporary register .
- store upper bit Result of MUL & DIV.
- access through SFR adder 0F0H.
Stack Pointer
- Define anywhere on chip 128 byte RAM.
- It is Initialised to 07H address (after rest) .
Data Pointer
- 16 bit register
-Access external memory up to 64KB.
Arch8051
8. Functional Description Block
Program Status Word
- Reflect status ALU performing operation.
Port 0 to 3
- Each latch and corresponding drivers of port 0 to 3 is allotted to the
corresponding on chip I/O port.
Serial Data Buffer
- Two Independent Register : TX Buffer (8bit) & RX Buffer(8bit).
Program Counter
- 16 bit wide
- Point to address of next instruction to be executed .
Arch8051
9. Functional Description Block
Timing & Control Unit
- Deriver signal required for Internal operation of circuit .
- Control signal required for controlling External System Bus.
Oscillator
- Generate basic timing control signal for operation of circuit using crystal oscillator.
ALU
- Perform 8 bit operation.
- Through TMP1 and TMP2 (each 8 bit).
- Not access by User.
SFR Register Bank
- lie in range of 80H to 0FFH .
- It can addressed using their respective address .
Arch8051
14. References
1.
The 8051 Microcontroller and Embedded Systems: Using Assembly and C.
By Mazidi, Mazidi and McKinlay.
2.
Advanced Microprocessor And Peripherals .3E
By K M Bhurchuandi and A K Ray .
3.
SlideShare.com