Microprocessor Architecture and Its Operation
Microprocessor Architecture and Its Operation
1.Microprocessor-initiated operations
2.Internal Operations
3.Peripheral (or external initiated) operations
1.Microprocessor-initiated operations:
The MPU performs primarily 4 operations:
Step1: Identify the peripheral or the memory location (with its address)
Step2: Transfer binary information (data and instruction)
Step3 : Provide timing or synchronization signals.
2.Internal data operations :
The internal architecture of 8085 microprocessor determines how and
what operations can be performed with the data.
These operations are:
Reset:
Interrupt:
Ready:
Hold:
There are two limitations in 8085 microprocessor:
1. Address bus
2. Data bus
Memory structure and its requirements
Basic concepts in Memory Interfacing
MP should 1. be able to select the chip
2. indentify the register
3. enable the appropriate buffer
Timing Diagrams: 1. Memory read cycle
2. Memory write cycle
Address Decoding:
2. AIRTHMETIC Operations
3. LOGICAL Operations
4. BRANCHING Operations
1. one-byte instruction:
Register Addressing: In this mode the operands are in the general purpose registers.
For example: MOV A,B
Direct Addressing: In this mode of addressing the address of the operand is given in the
instruction itself.
For example: STA 2400H Store the contents of the accumulator in memory location
2400H.
IN 02 Reads data from port C and stores it in the accumulator.
2) LXI H, 2500H
ADD M
HLT
1. DATA Transfer (copy) operations:
Opcode Operand Description
O/P
Opcode Operand Description
IN 8-bit port address Input from Port
This is a 2-byte instruction
NOP No Operation
This is a 1-byte instruction
No operation is performed.
2. AIRTHMETIC Operations
Opcode Operand Description
ADD R Add
This is a 1-byte instruction
INR R Increment
Increase the content of reg R by 1.
DCR R Decrement
This is a 1-byte instruction
Decreases the contents of reg R by 1
2. LOGIC Operations
Opcode Operand Description
ANA R Logical AND with A.
This is a 1-byte instruction