I've told you where to start: the truth table.I don't know where to start..
What is the maximum value for 2-bit binary?Is it 1111?
Okay, so, your adder will add two numbers together: A & B, where A and B are two bit numbers and A is comprised of {A1,A0} (A1 concatenated with A0) and B is {B1,B0}.Okay okay.. let's start with the 2-bit binary..
A 1 input 2 binary number is like this right? >> 00, 01, 10, 11? Am i Right? If i we're to name this input as A1, is this A1 alone? Or is this A1 and A0? And 11 in decimal is 1?
A1 A0 B1 B0
00 00 00 01
or is it this way?
A1 A0 B1 B0 F
0 0 0 1 1
Or i got it all wrong?
With two 2-bit numbers, you'd have a total of four inputs: A1, A0, B1, and B0.Thank you, I was right on the second then =) So, if A1 A0 and B1 B0 are A & B, so these four inputs are only represented by 2 switches?
How would you add them? These are variables, each having the 4 possible combinations that you can have with a 2-bit number.A1 as ON and A0 as OFF? same on the B?
Yes, add the two numbers A and B and put their result as a sum, but you need to figure out what the maximum value the sum can have so you know how many bits you need for it.Also, how will I answer the truth table? Should I just simply add them?
It's the same as in decimal, with the only exception being that instead of a digit having possible values 0-9, you have bits having possible values of either 0 or 1.Can you please teach me how to add a 2-bit binary number sir?
Are these in binary? Remember, the point was to determine how many bits you need your output to have.Then the answer in the above truth table that you gave would be
0
1
1
2
1
2
3
4
2
3
4
5
3
4
5
6
Right? hehe
Looking at your results column that you provided, the highest number is 6, right?Oh, yes. I need 2-bits, so the answer would be, 00,01,10? Like that?
So how do you represent 7 different values, 0 through 6, with two bits?Oh, yes. I need 2-bits, so the answer would be, 00,01,10? Like that?
Who (other than you) has said that the output can only be two bits?It take 110, so 3 bits? Right? And how will i represent this into two bits? if two bits binary is only 11 which is = 3?
yup, i'm trying to learn how to add 2 bit binary numbers and we're starting at the truth table above. 2 bit binary adderYou (other than you) has said that the output can only be two bits?
Okay, so what have you learned thus far? What are your inputs (and how many bits is each) and what are your outputs (and how many bits is each)?yup, i'm trying to learn how to add 2 bit binary numbers and we're starting at the truth table above. 2 bit binary adder
But why are you TRYING to?I don't know how to represent 7 different values, from 0 through 6 with two bits..
by Jake Hertz
by Jake Hertz
by Jake Hertz
by Duane Benson