90 likes | 186 Views
Chapitre 7 Microprogrammation. 1. 2. 3. 4. 5. 6. Control. 7. 8. 9. Unit. *. 0. #. Electronic Lock. Data Memory. Arithmetic Unit. Program Memory. Program Interface. The Control Unit. Instruction Register. Condition codes. Interrupts. Clock. Commands to all parts of the
E N D
Chapitre 7 Microprogrammation
1 2 3 4 5 6 Control 7 8 9 Unit * 0 # Electronic Lock Data Memory Arithmetic Unit Program Memory Program Interface
The Control Unit Instruction Register Condition codes Interrupts Clock Commands to all parts of the computer
The Control Unit Instruction Register Condition codes Interrupts Commands to all parts of the computer Set of boolean functions Timing Counter Reset
Microprogrammed Control Unit +1 Commands to all parts of the computer MPC Micro- store Mapping ROM Instruction Register Next Microinstruction selection Rd Condition codes and interrupts Control ROM
Microprogram Example label next instr. destination bits controlling all parts of the system fetch IFinterrupt P > mem.add.;P+1 > P jump THEN intseq ELSE next mem.dat.> IR inst.map ... whatever is needed to execute instruction n. inst.n next ... fetch jump ... whatever is needed to identify the interrupt, intseq next to save processor state and ... to fetch first instruction of interrupt handler inst.map
Next instr. control Destination Address Bits controlling all parts of the computer system Next instr. control instruction format 1 Bits controlling all parts of computer system Next instr. control instruction format 2 Address in microstore of the next microinstruction to be fetched Horizontal & Vertical instructions Horizontal Microinstructions Vertical Microinstructions
Microprogrammed Control Unit +1 Commands to all parts of the computer MPC DECODER Micro- store Mapping ROM Instruction Register Rd Condition codes and interrupts Control ROM
1 of 8 Decoders