in GATE
203 views
0 votes
0 votes

How to calculate the third  option?

in GATE
203 views

1 Answer

0 votes
0 votes

You might have missed that M is also the input carry C$_{0}$

A = 1 1 0 0 

B = 1 0 0 0 

M = 1 gives bit-wise XOR of 1 with B

i.e

B = 0 1 1 1

Now to Add

C   1 1 1

A   1 1 0 0

B   0 1 1 1

C            1


   1  0 1 0 0

C$_{4}$S$_{3}$S$_{2}$S$_{1}$S$_{0}$

1 comment

God this was easy….
0
0

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

64.3k questions

77.9k answers

244k comments

80.0k users