" Fig.I: 4-hit arithmetic circuit" Here, Cin : is an input carry in the least position. select peration S.Cin function table for arithmetic circuit ge output of adder: DA-Y+ Cin name of operation name in assembly MUX: D-A-B D-A-B+1 D-A-R addition ad with carry ADD ADC sub with bornow SRR

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Computer organization Architectures (Arithmetic Circuit) Solve the assignment at the end of the page similar to the steps above
" Fig.1: 4-bit arithmetic circuit"
Here, Cin : is an input carry in the least position.
function table for arithmetic circuit
select
atput loustnut uf
af
NUX. Jadder:
Iname of
aperation
Si S. Cin Y
DA-Y+ Cln operation
D-A-B
name in
asembly
MUX:
ADD
001 BD=A-B+l a ADC
SHA
addition
ald with carry
sub with bormw
D-A R
SRR
D= A-B+1
IO O 0 D-A
D-A-1
D-A-I
-I DA
011 E D=A
subtraction
SUB
Iransfer A
inc A
dec A
transfer A
MOV
INC
DEC
I a
MOV
МOV
A-B=A+D+I ( sub )
A-B-1-AE+1-1-A (sub with borrow)
D= A - 0(Y) +0 (C) = D= A
DA O(Y) I (G)= D A1
D=A - 1111( Y ) +0 (Ca) = D= A-1
D=A- IIII(Y) I (Ca)
= A-1+1=A
Note: ADD AX, BX ;AX- AX + BX
ADC AX, BX ;AX + AX + BX + CF
SUB AX, BX
; AX- AX - BX
SBB AX, BX
;AX+ AX- BX-CF
Ex.: Given the following arithmetic operations:
Cin 0
D-A-I
D-A
Sa
Cin=1
D-A
D-A+1
D-A+B
D-A+B-1
D-A+B
D-A+B
Construct a function table, then draw a 2-bit arithmetic circuit
(for twa stages).
Sol. :
S1 S
so Cin
DA C
A-I
1
A
A
1
A+1
B.
B
A+B
A-B+
A.B
AB+1
Cin
A
FA
FA
D,
MEX
Cout
H.W: for the following arithmetic operations:
Cin = 0
D=A+B
D= A -1
Cin =1
D= A +1
D= A +B' +1
Construct a function table, then draw an arithmetic circuit for
two stages.
Transcribed Image Text:" Fig.1: 4-bit arithmetic circuit" Here, Cin : is an input carry in the least position. function table for arithmetic circuit select atput loustnut uf af NUX. Jadder: Iname of aperation Si S. Cin Y DA-Y+ Cln operation D-A-B name in asembly MUX: ADD 001 BD=A-B+l a ADC SHA addition ald with carry sub with bormw D-A R SRR D= A-B+1 IO O 0 D-A D-A-1 D-A-I -I DA 011 E D=A subtraction SUB Iransfer A inc A dec A transfer A MOV INC DEC I a MOV МOV A-B=A+D+I ( sub ) A-B-1-AE+1-1-A (sub with borrow) D= A - 0(Y) +0 (C) = D= A DA O(Y) I (G)= D A1 D=A - 1111( Y ) +0 (Ca) = D= A-1 D=A- IIII(Y) I (Ca) = A-1+1=A Note: ADD AX, BX ;AX- AX + BX ADC AX, BX ;AX + AX + BX + CF SUB AX, BX ; AX- AX - BX SBB AX, BX ;AX+ AX- BX-CF Ex.: Given the following arithmetic operations: Cin 0 D-A-I D-A Sa Cin=1 D-A D-A+1 D-A+B D-A+B-1 D-A+B D-A+B Construct a function table, then draw a 2-bit arithmetic circuit (for twa stages). Sol. : S1 S so Cin DA C A-I 1 A A 1 A+1 B. B A+B A-B+ A.B AB+1 Cin A FA FA D, MEX Cout H.W: for the following arithmetic operations: Cin = 0 D=A+B D= A -1 Cin =1 D= A +1 D= A +B' +1 Construct a function table, then draw an arithmetic circuit for two stages.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY