110 likes | 357 Views
CPU Fetch/Execute Cycle. Computer program Electronic clock Computer Memory Data/address buses Fetch/Execute Cycle Accumulator ALU/Control Unit/Program Counter CIR/MDR/MAR. Electronic Clock. Internal Bus. Program Counter. Data. Control Unit. Internal Bus. Bus.
E N D
CPU Fetch/Execute Cycle • Computer program • Electronic clock • Computer Memory • Data/address buses • Fetch/Execute Cycle • Accumulator • ALU/Control Unit/Program Counter • CIR/MDR/MAR
ElectronicClock Internal Bus Program Counter Data Control Unit Internal Bus Bus Memory Address Register Address Bus Data Accumulator Bus Data Current Instruction Register SpecialInternal BusStructure Bus Data Data bus Memory Data Register ArithmeticLogic Unit Bus Simple Microprocessor Memory
Memory Simple Microprocessor 10 00000010 (2) ElectronicClock 11 00000011 (3) 12 00000000 (R) … Internal Bus PC Data Control Unit Internal Bus Bus MAR Address Bus Data Accumulator 100 Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 11001011 102 Data 11101100 Data bus MDR ALU Bus
Memory Simple Microprocessor 10 00000010 (2) ElectronicClock 11 00000011 (3) 12 00000000 (R) … Internal Bus PC 01100100 = 100 Data Control Unit Internal Bus Bus MAR Address Bus Data Accumulator 100 Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 11001011 102 Data 11101100 Data bus MDR ALU Bus
Memory Fetch Phase (1st Instruction) 10 00000010 (2) ElectronicClock 11 00000011 (3) 12 00000000 (R) … Internal Bus PC 01100100 = 100 Data Control Unit Internal Bus Bus MAR Address Bus 0100100 Data Accumulator 100 Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 10011010 11001011 102 Data 11101100 Data bus MDR ALU Bus 10011010
Memory 1st Instruction Decoded 10 00000010 (2) ElectronicClock 11 00000011 (3) Load number from memory location 10 12 00000000 (R) … Internal Bus PC 01100101 = 101 Data Control Unit Internal Bus 10011010 Bus MAR Address Bus 0100100 Data Accumulator Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 10011010 11001011 102 Data 11101100 Data bus MDR ALU Bus 10011010
Memory 1st Instruction Executed 10 00000010 (2) ElectronicClock 11 00000011 (3) Load number from memory location 10 12 00000000 (R) … Internal Bus PC 01100101 = 101 Data Control Unit Internal Bus 10011010 Bus MAR Address Bus 00001010 Data Accumulator 00000010 Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 10011010 11001011 102 Data 11101100 Data bus MDR ALU Bus 00000010
Memory Fetch Phase (2nd Instruction) 10 00000010 (2) ElectronicClock 11 00000011 (3) 12 00000000 (R) … Internal Bus PC 01100110 = 102 PC 01100101 = 101 Data Control Unit Internal Bus Bus MAR Address Bus 01100101 Data Accumulator 00000010 Bus Data 10011010 CIR SpecialInternal BusStructure 101 Bus 11001011 11001011 102 Data 11101100 Data bus MDR ALU Bus 11001011
Memory 2nd Instruction Decoded 10 00000010 (2) ElectronicClock 11 00000011 (3) Load number from memory location 11 12 00000000 (R) … Internal Bus PC 01100110 = 102 Data Control Unit Internal Bus 11001011 Bus MAR Address Bus 01100101 Data Accumulator 00000010 Bus Data 10011010 CIR SpecialInternal BusStructure Bus 11001011 11001011 102 Data 11101100 Data bus MDR ALU Bus 11001011
Memory 2nd Instruction Execution 10 00000010 (2) ElectronicClock 11 00000011 (3) 12 00000000 (R) … Internal Bus PC 01100110 = 102 Data Control Unit Internal Bus 11001011 Bus MAR Address Bus 00001011 Data Accumulator 00000010 00000101 Bus Data 10011010 CIR SpecialInternal BusStructure Bus 11001011 11001011 102 Data 11101100 Data bus MDR 00000010 ALU Bus + 00000101 00000011 00000011