1
A microprocessor is a complete CPU on a single chip β it fetches instructions from memory, decodes them, and executes them. The Intel 8085 is the classic teaching example.
2
Three internal blocks: ALU (performs arithmetic and logic), Control Unit (generates timing/control signals, sequences operations), Registers (fast on-chip storage).
3
Accumulator (A register): the main working register β most arithmetic and logic results end up here.
4
Program Counter (PC): a 16-bit register that ALWAYS points to the memory address of the NEXT instruction to fetch. After each fetch, it automatically increments.
5
Stack Pointer (SP): 16-bit register pointing to the TOP of the stack in RAM. The stack is used for CALL/RET and interrupt handling β data is pushed/popped in LIFO order.
6
Flag register: a set of 1-bit condition flags set automatically by the ALU. The 8085 flags: Sign (S), Zero (Z), Auxiliary Carry (AC), Parity (P), Carry (CY).
7
The 8085 has a 16-bit address bus β 2ΒΉβΆ = 65,536 addressable locations = 64 KB of memory. The data bus is 8-bit (bidirectional). The address bus is unidirectional (CPU only drives it).
8
The lower 8 bits of the address bus are multiplexed with the data bus (AD0βAD7) β the ALE signal distinguishes address from data on these shared lines.
9
Assembly language uses human-readable mnemonics (MOV, ADD, JMP, CALL) instead of raw binary opcodes. One mnemonic = one machine instruction.
10
An assembler translates assembly source code into machine code (hex object code). A disassembler does the reverse.
11
8085 instruction categories: Data Transfer (MOV, MVI, LDA, STA), Arithmetic (ADD, SUB, INR, DCR), Logical (ANA, ORA, XRA, CMA), Branching (JMP, JZ, JC, CALL, RET), Machine Control (HLT, NOP, EI, DI).
12
The 8085 fetch-decode-execute cycle: (1) PC β address bus β fetch opcode, (2) decode the opcode, (3) execute the operation, (4) increment PC, repeat.