8085 Microprocessor Sandbox

CSC-167 · Semester II · Microprocessor

8085 microprocessor
8085 8-bit microprocessor
INTERNAL DATA BUS (8-BIT)INSTRUCTION REGISTER (IR)8-bit · holds the fetched opcodeINSTRUCTION DECODER& machine cycle encodingTIMING AND CONTROLCONTROL & STATUSRDWRALES0S1IO/MREADYHLDARESET INRESET OUTINTERRUPT CONTROLTRAPRST 7.5RST 6.5RST 5.5INTRINTASERIAL I/O CONTROLSIDSODCLOCKX1X2CLK OUTREGISTER ARRAYsix 8-bit general-purpose registers (B C D E H L)BCDEHLWZ(temp)STACK POINTER (SP)16-bit · address of the stack topPROGRAM COUNTER (PC)16-bit · next instruction addressINCREMENTER / DECREMENTERaddress latch (16-bit)ADDRESS BUFFERA15–A8 (high byte)DATA BUFFERAD7–AD0 · data in/outACCUMULATOR GROUPACCUMULATOR (A) — 8-BITTEMPORARY REGISTER (8-BIT)FLAGSSZACPCYARITHMETIC & LOGIC UNIT (ALU)add · sub · AND · OR · XOR · compare · rotateINTERRUPT CONTROLTRAPRST 7.5RST 6.5RST 5.5INTRINTASERIAL I/O CONTROLSIDSODADDRESS BUS (16-BIT) — A15–A8 · AD7–AD0DATA BUS (8-BIT) — AD7–AD0 (SHARED WITH LOW ADDRESS)EXTERNAL PINS: A15–A8 drive the high address · AD0–AD7 multiplex the low address and data
Every block works off the internal 8-bit data bus. The ALU and accumulator do the arithmetic, the register array (B C D E H L, plus temporary W and Z) holds the operands, the IR and decoder and the timing and control unit drive the fetch–decode–execute cycle, and the address and data buffers carry everything out to the 40 pins.