Professional Documents
Culture Documents
Advanced Microcontroller and Embedded Systems
Advanced Microcontroller and Embedded Systems
6
Examples: Car Door
7
Advance microcontroller - PIC
Harvard
Von Neumann
9
CISC and RISC
Sr.no CISC RISC
.
1 Mc’s with Von Neumann Mc’s with Harvard architecture
architecture are called CISC are called RISC microcontrollers
microcontrollers
2 CISC instructions utilize more All single cycle instruction
cycle than RISC except branches
3 Many instructions and modes Few instructions and modes
4 Not pipelined or less pipelined Highly pipelined
5 Variable format instructions Fixed format instructions
6 Complexity in the micro program Complexity in the compiler
7 Requires more memory to store Requires less memory to store
the instructions the instructions
8 Computers typically use CISC Tablets, smart phones use RISC
Question/Quiz 1
What is full form of PIC18F458?
Who manufacturing the PIC microcontroller?
What type of architecture in PIC18F, Von
Neumann or Harvard ?
In PIC which type of instruction set available CISC
or RISC?
PIC18F458 is 8/16/32 bit microcontroller ?
Pipelining
Remember :
NOVember Zero DC Current.
Introduction to PIC18
Instruction Set
Includes 77 instructions;
73 instructions are 2 byte (16-bit) long….. (one word)
Four instructions are 4 byte (32-bit) long ….(two-words)
[ MOVFF fs,fd , LFSR fsr0,f , GOTO and CALL instructions.]
Examples of declaring char and int data types are provided below:
unsigned char i; /* specifies i as an unsigned 8-bit number*/
char x; /*declares x as a signed 8-bit number
unsigned int b; /*declares b as an unsigned 16-bit integer*/
int a; /* defines variable as a 16-bit signed integer*/
Control loops