





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Summary about MICROPROGRAMMED CONTROL, COMPARISON OF CONTROL UNIT IMPLEMENTATIONS, Hardwired Vs Micro programmed, TERMINOLOGY, TERMINOLOGY, MICROINSTRUCTION SEQUENCING.
Typology: Study notes
1 / 37
This page cannot be seen from the preview
Don't miss anything!






























Control Unit Implementation Combinational Logic Circuits (Hard-wired) Microprogramed
}
TERMINOLOGY Microprogram
TERMINOLOGY Sequencer (Microprogram Sequencer) A Microprogram Control Unit that determines the Microinstruction Address to be executed in the next clock cycle
CONDITIONAL BRANCH Unconditional Branch Fixing the value of one status bit at the input of the multiplexer to 1
Conditional Branch If Condition is true, then Branch (address from the next address field of the current microinstruction) else Fall Through Conditions to Test: O(overflow), N(negative), Z(zero), C(carry), etc.
MAPPING OF INSTRUCTIONS
OP-codes of Instructions ADD AND LDA STA BUN 0000 0001 0010 0011 0100 . . . Direct Mapping
Mapping Bits
MACHINE INSTRUCTION FORMAT Microinstruction Format
EA is the effective address Symbol OP-code Description ADD 0000 AC AC + M[EA]AC + M[EA] BRANCH 0001 if (AC < 0) then (PC AC + M[EA] EA) STORE 0010 M[EA] AC + M[EA] AC EXCHANGE 0011 AC AC + M[EA] M[EA], M[EA] AC + M[EA] AC Machine instruction format I Opcode
Address
Sample machine instructions F1 F2 F3 CD BR AD
F1, F2, F3: Microoperation fields CD: Condition for branching BR: Branch field AD: Address field
MICROINSTRUCTION FIELD DESCRIPTIONS - F1,F2,F F1 Microoperation Symbol 000 None NOP 001 AC AC + DR ADD 010 AC 0 CLRAC 011 AC AC + 1 INCAC 100 AC DR DRTAC 101 AR DR(0-10) DRTAR 110 AR PC PCTAR 111 M[AR] DR WRITE
F2 Microoperation Symbol 000 None NOP 001 AC AC - DR SUB 010 AC AC DR OR 011 AC AC DR AND 100 DR M[AR] READ 101 DR AC ACTDR 110 DR DR + 1 INCDR 111 DR(0-10) PC PCTDR F3 Microoperation Symbol 000 None NOP 001 AC AC DR XOR 010 AC AC’ COM 011 AC shl AC SHL 100 AC shr AC SHR 101 PC PC + 1 INCPC 110 PC AR ARTPC 111 Reserved
SYMBOLIC MICROINSTRUCTIONS
SYMBOLIC MICROPROGRAM - FETCH ROUTINE
Symbolic Microprogram for the fetch cycle:
Binary equivalents translated by an assembler 1000000 110 000 000 00 00 1000001 1000001 000 100 101 00 00 1000010 1000010 101 000 000 00 11 0000000 Binary address F1 F2 F3 CD BR AD
During FETCH, Read an instruction from memory and decode the instruction and update PC Sequence of microoperations in the fetch cycle:
Address Binary Microinstruction Micro Routine Decimal Binary F1 F2 F3 CD BR AD ADD 0 0000000 000 000 000 01 01 1000011 1 0000001 000 100 000 00 00 0000010 2 0000010 001 000 000 00 00 1000000 3 0000011 000 000 000 00 00 1000000 BRANCH 4 0000100 000 000 000 10 00 0000110 5 0000101 000 000 000 00 00 1000000 6 0000110 000 000 000 01 01 1000011 7 0000111 000 000 110 00 00 1000000 STORE 8 0001000 000 000 000 01 01 1000011 9 0001001 000 101 000 00 00 0001010 10 0001010 111 000 000 00 00 1000000 11 0001011 000 000 000 00 00 1000000 EXCHANGE 12 0001100 000 000 000 01 01 1000011 13 0001101 001 000 000 00 00 0001110 14 0001110 100 101 000 00 00 0001111 BINARY MICROPROGRAM
Hardwired Vs Micro programmed
Hardwired Vs Micro programmed
Hardwired Vs Micro programmed