- What are w-bit words in computer architecture ?
- For two 7 bit words
1011001 = A 1101011 = B , how does multiplication returns10010100110011 ?
Isn’t there simple binary multiplication involved in these ?
Please provide an example.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Both adding and multiplying are done just the same as in decimal (base 10). You just need to remember this truth table:
First adding. To add, you add just like you would in normal arithmetic, except follow the truth table above:
How this works is that you start from the right and work left.
1 + 1 = 0, but you carry a1over to the next column. So the next column is0 + 1, which would be1, but since you carried another1from the previous column, its really1 + 1, which is0. You carry a1over the next column, which is1 + 0, but really1 + 1because of the carry. So0again and finally move the1to the next column, which is0 + 0, but because of our carry, becomes1 + 0, which is1. So our answer is1000, which is8in decimal.5 + 3 = 8, so we know we are right.Next, multiplying:
How this works is you multiply the top number
00000101by the right most digit in the second row. So00000011is our second row and1is the right most digit, so00000101times1=101. Next you put a0placeholder in the right most column below it, just like in normal multiplication. Then you multiply our top original number00000101by the next digit going left in our original problem00000011. Again it produce101. Next you simply add101 + 1010 = 1111…That is the answer