Microprocessor 8085 Exam Notes
Microprocessor 8085 Exam Notes
Introduction
A microprocessor is an integrated circuit (IC) that incorporates the functions of a CPU. It performs arithmetic and logic operations and
controls tasks based on instructions.
Applications
Used in embedded systems, mobile phones, computers, washing machines, traffic lights, etc.
Speed
Measured in MHz (millions of instructions per second).
Word Size
Indicates the number of bits processed at once. 8085 has 8-bit word size.
Memory Capacity
Depends on address bus size. 8085 can address 2^16 = 64KB memory.
Classification of Microprocessors
1. 4-bit: Intel 4004
2. 8-bit: Intel 8085, Zilog Z80
3. 16-bit: Intel 8086
4. 32-bit: Intel 80386
5. 64-bit: Intel Core i7
8085 Features
8-bit processor, 16-bit address bus, 74 instructions, 246 opcodes, 5 flags, operates at 3 MHz.
Register Pairs
BC, DE, HL - used for 16-bit operations.
Flags
Sign, Zero, Auxiliary Carry, Parity, Carry - reflect result of operations.
Types of Buses
Data Bus (8-bit), Address Bus (16-bit), Control Bus (read/write control).
Control Signals
ALE (Address Latch Enable), RD, WR, IO/M used to control data flow.
Instruction Set
Collection of all instructions the 8085 can execute - 74 instructions total.
Instruction Classification
1. Data transfer 2. Arithmetic 3. Logical 4. Branch 5. Control
Addressing Modes
1. Immediate
2. Register
3. Direct
4. Indirect
5. Implicit
Instruction Format
1 to 3 bytes long: opcode + operand(s)
Arithmetic Instructions
Microprocessor 8085 - Exam Notes
Logical Instructions
ANA, ORA, XRA, CMP, CMA
Branch Instructions
JMP, JZ, JNZ, CALL, RET
Stack Operations
Stack is a LIFO structure. Uses PUSH and POP instructions.
Timing Diagram
Shows timing of control signals during execution.
Instruction Cycle
Time taken to fetch, decode and execute an instruction.
Machine Cycle
Part of instruction cycle, e.g., memory read, memory write.
T-States
Each machine cycle is divided into smaller units called T-states.
Time Delay
Generated using looped instructions and counters like DCR, JNZ.