Lectures On Central Processing Unit
Lectures On Central Processing Unit
Lectures On Central Processing Unit
POP:
Memory Stack
Memory Stack (Contd..)
For Example:
X=(A+B) * (C+D)
Three Address Instructions:
Two Address Instructions
One Address Instructions
Zero Address Instructions
RISC Instructions:
Addressing Modes:
Implied Mode
Immediate Mode
Register Mode
Register Indirect Mode
Auto increment or Auto decrement mode
Direct Address Mode
Indirect Address mode
Relative Address Mode
Index Addressing Mode
Base Register Addressing Mode
Addressing Modes Example WRT instructions
Data Transfer and Manipulation
Data Transfer
Data Manipulation
Program Control
Data Transfer Instructions
Data Manipulation Instructions
Arithmetic Instructions
Logic Instructions
Shift Operations
Arithmetic Instructions
Logic and bit manipulation Instructions
Shift Operations
Program Control
Program Control
CALL:
RET:
Interrupt
Is it similar to subroutine?
3 basic differences:
1. Initiated by internal or External Signal rather than an instruction
from program
2. Address of Interrupt Service Routine is determined by Hardware
3. An Interrupt procedure usually stores all the information
necessary to define the state of CPU
Types of Interrupt:
All operations done within the registers of Instructions are available that manipulate
the CPU operands in memory