Gw mau tau ------------- dari Sistem angka perduaan. Jelasin dalam bahasa melayu

= 1 0 0 1 0 0

Dalam contoh ini, dua angka sedang ditambah: 011012 (1310) dan 101112 (2310). The top row shows the carry bits used. Starting in the rightmost column, 1 + 1 = 102. The 1 is carried to the left, dan the 0 is written at the bottom of the rightmost column. The second column from the right is added: 1 + 0 + 1 = 102 again; the 1 is carried, dan 0 is written at the bottom. The third column: 1 + 1 + 1 = 112. This time, a 1 is carried, dan a 1 is written in the bottom row. Proceeding like this gives the final answer 1001002 (36 decimal).

When computers must add two numbers, the rule that:

x xor y = (x + y) mod 2

for any two bits x dan y allows for very fast calculation, as well.

A simplification for many binary addition problems is the Long Carry Method or Brookhouse Method of Binary Addition.  This method is generally useful in any binary addition where one of the numbers has a long string of  “1” digits.  For example the following large binary numbers can be added in two simple steps without multiple carries from one place to the next.

1 1 1   1 1 1 1 1   (carried digits)                   (Long Carry Method)

1 1 1 0 1 1 1 1 1 0                              1 1 1 0 1 1 1 1 1 0

+   1 0 1 0 1 1 0 0 1 1            Versus:       +   1 0 1 0 1 1 0 0 1 1  add crossed out digits first

-----------------------                          + 1 0 0 0 1 0 0 0 0 0 0  = sum of crossed out digits

= 1 1 0 0 1 1 1 0 0 0 1                          -----------------------  now add remaining digits

1 1 0 0 1 1 1 0 0 0 1

Dalam contoh ini, dua nombor ditambah bersama-sama: 1 1 1 0 1 1 1 1 1 02 (95810) dan 1 0 1 0 1 1 0 0 1 12 (69110). The top row shows the carry bits used. Instead of the standard carry from one column to the next, the lowest place-valued "1" with a "1" in the corresponding place value beneath it may be added dan a "1" may be carried to one digit past the end of the series.  These numbers must be crossed off since they are already added.  Then simply add that hasil to the uncanceled digits in the second row. Proceeding like this gives the final answer  1 1 0 0 1 1 1 0 0 0 12 (164910).