Professional Documents
Culture Documents
Chapter 2.1 Microcontroller
Chapter 2.1 Microcontroller
CHAPTER 2.1
PIC16f877A
MICROCONTROLLERS
CHAPTER OBJECTIVES
To understand the internal
architecture of a microcontroller
(pic16f877a as a case study)
Why PIC?
Why pic16f877?
COMPUTER ARCHITECTURE
RISC (Reduced instruction set computer)
Alsocalled Harvard architecture
Only small number of instruction
Eg. PIC only 35 instruction
Small number of addressing mode
A lot of registers
Memory space for data and instruction is
different (they don’t share the same space)
Both Data and instruction can be accessed at the
same time (pipelining)
This makes this processor relatively fast
COMPUTER
ARCHITECTURE(CONTI.)
CISC (Complex instruction set computer)
Itis also called Von Neumann architecture
Instruction and data share the same memory
space (cannot be accessed at the same time)
A large number of instruction(more than 170
instruction set in Intel family processors
This makes them relatively costy, with large power
requirements and more than 1 clock cycle per
instruction (less speed)
Large number of addressing mode
Variable length instruction
RISC ARCHITECTURE
MICROPROCESSOR VSS MICROCONTROLLER
12
PIC ARCHITECTURE
RISC like feature
Harvard architecture
Instruction pipelining
A lot of registers
32