Docsity

Microprocessor ALU Table, Exams of Microprocessors

Toggle sidebar
bg1
ALU TABLE FOR CONTROL WORD: -
Binary
Code
Function of selection variables
A
B
F with
Cin = 0
F with
Cin = 1
H
0 0 0
Input Data
Input Data
A-1
A
1’s to the output Bus
0 0 1
R1
R1
A-B-1
A-B
Shift Left with IL=0
0 1 0
R2
R2
A
A+1
Circulate-Left with Carry
0 1 1
R3
R3
A+B
A+B+1
0’s to the output Bus
1 0 0
R4
R4
A
-
No Shift
1 0 1
R5
R5
A XOR B
-
-
1 1 0
R6
R6
A AND B
Circulate-Right with Carry
1 1 1
R7
R7
A OR B
Shift Right with IR=0
Control Word :-
A
H
B
F
Cin
D

Partial preview of the text

Download Microprocessor ALU Table and more Exams Microprocessors in PDF only on Docsity!

ALU TABLE FOR CONTROL WORD: -

Binary Code Function of selection variables A B F with Cin = 0 F with Cin = 1

D H

0 0 0 Input Data Input Data A- 1 A None 1’s to the output Bus 0 0 1 R1 R1 A-B- 1 A-B R1 Shift Left with IL= 0 1 0 R2 R2 A A+1 R2 Circulate-Left with Carry 0 1 1 R3 R3 A+B A+B+1 R3 0’s to the output Bus 1 0 0 R4 R4 A̅ - R4 No Shift 1 0 1 R5 R5 A X OR B - R5 - 1 1 0 R6 R6 A AND B R6 Circulate-Right with Carry 1 1 1 R7 R7 A OR B R7 Shift Right with IR=

Control Word :-

A H B F Cin D