# Simple Binary addition

## Homework Statement

010110000000000
011001000000000
001100010000000
100100001000000
110100000000100
111100000000001
+
-------------------

## The Attempt at a Solution

The answer I get is 1010111011000101
but I have used matlab and the first four digits are backwards on my answer per matlab. I am confused on how they get that when carrying the 1 starting with the 12th row from the right.

Mark44
Mentor

## Homework Statement

010110000000000
011001000000000
001100010000000
100100001000000
110100000000100
111100000000001
+
-------------------

## The Attempt at a Solution

The answer I get is 1010111011000101
but I have used matlab and the first four digits are backwards on my answer per matlab. I am confused on how they get that when carrying the 1 starting with the 12th row from the right.

Rows are horizontal. Columns are vertical, just like the columns in a building. Starting from the 4th column from the left, you're adding 1 + 1 + 1 + 1 + 1 = 5 = 1012. You have a 0 at that position, and you should have a 1, and you need to carry 4 (or 1002).