Control processing unit and control sequence of ADD and SUB
1. Birla Vishwakarma
Mahavidhyalaya
• Subject : Control Sequences and
Hardwire Approach
• Batch : B3 Group : G2
• Made by : 15CP032:-Siddhapura Romil
15CP033:-Kavaiya Hiren
15CP018:-Ahalpara Keval
3/16/2017 1Footer Text
3. Add Register to Accumulator
Opcode : ADD Reg.
Machine Cycle : 1
T – states : 4
Cycles : Fetch
Instruction : ADD B
3/16/2017Footer Text 3
4. Control Sequence of ADD B
Instruction
1. PC out, MAR in, READ, WMFC, PC++
2. MDR out, IR in
3. B out, Y in, Select Y, ADD ,Z in
4. Z out ,A in, End.
3/16/2017Footer Text 4
5. Control Sequence of ADC B
Instruction
1. PC out, MAR in, READ, WMFC, PC++
2. MDR out, IR in
3. B out, Y in, Select Y, CY out, ADD ,Z in
4. Z out ,A in, End.
3/16/2017Footer Text 5
7. Control Sequence of SUB B
Instruction
1. PC out, MAR in, READ, WMFC, PC++
2. MDR out, IR in
3. B out, Y in, Select Y, SUB ,Z in
4. Z out ,A in, End.
3/16/2017Footer Text 7
8. Control Sequence of SBB B
Instruction
1. PC out, MAR in, READ, WMFC, PC++
2. MDR out, IR in
3. B out, Y in, Select Y, CY out, SUB ,Z in
4. Z out ,A in, End.
3/16/2017Footer Text 8
9. Hardwire Approach
• To execute instructions, the processor must have
some means of generating the control signal in
proper sequence.
• The approach fall into one of two categories:
1. Hardwire Control
2. Microprogrammed Control
• Let us discuss a hardwired control unit organization
as shown in this figure,
3/16/2017Footer Text 9