How to add two 4bit numbers
How do i add two four bit numbers, what are the steps required to do so?

What kind of equipment is available? Are you looking for a chart of NAND gates or a line of a C program or what?

No ,nothing like that, just how do i add two four bit numbers manually on paper. Like 0000 + 0001.

0000
0001  0001 It's the same like adding decimal numbers. The same rules apply. 
Quote:

In decimal when you get to 10 you write a single digit in the current column and carry 1 to the next column (left, more significant). Binary is just the same except it's 2 that brings you to the carry  there are only two single digits 0 and 1.

Quote:
http://www.math.grin.edu/~rebelsky/C...studentbinary Daniel B. Martin 
Quote:
Here's a few other examples: Code:
0010 
It's exactly like base 10: 0 + 1 = 1 ... etc[/b] ... 1 + 1 = 1 carry 1.
It does take a bit of getting used two ... ;) 

It's the same as adding in any other base. Base 2, base 8, base 10, base 16, it all works the same.
Start at the LSB, add the numbers together. If you overflow that digit (2 in base 2, 8 in base 8, 10 in base 10, etc), then carry the 1 into the next most significant column and repeat. 
Quote:

Like the much repeated phrase "There are 10 types of people in the world: those that understand binary and those that don't.".

Thank you, i've understood what to do :) Sorry laho guess i thought binary addition would be 'harder' than that.

Quote:
jlinkels 
All times are GMT 5. The time now is 01:50 AM. 