Академический Документы
Профессиональный Документы
Культура Документы
KR Chowdhary
Professor & Head
Email: kr.chowdhary@acm.org
February 5, 2011
memory
CPU or processor (instruction sets)
Input/output Devices
networks
Information transferred is in words
begin
are
instructions
waiting NO
executions?
YES
fetch
execute
NO is
interrupt
waiting?
YES
Service
interrupt
AC
DR b b b
b
ctrl ckts
b b
ctrl lines
start
cpu activated? NO
YES
AR <-PC
fetch
DR<-M(AR) cycle
IR<-DR(opcode)
PC<-PC+1
decode opcode
NO NO
add instr. JMP inst. b b b
YES
AR<-DR(addr) YES execute
cycle
DR<-M(AR) PC<-DR(addr)
AC<-AC+DR
8-bit CPU
Communicates with other units using 16-bit address lines,
8-bit data, and control bus
Address: A0 − A15 , total addressable memory=216 = 65536
(64k). Address locations 0 - 65535 (0000H - FFFFH).
Databus D0 − D7 , multiplexed with lower 8 bits of address bus
(A0 − A15 ).
Control bus: Various signal lines (binary) carrying signals like
Read/write, enable, flag bits, etc.
CLK
RDY
AD0-AD7
A8-A10 PA0-7
A
CE
2k X 8
IO/M EPROM
ALE
RD B PB0-7
IOW
Reset
IOR
Vcc
Prog/CE
VDD