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

Operasi pengiraan paling mudah dalam sistem angka perduaan adalah penambahan. Dengan penambahan dua tunggal-digit binary numbers is relatively simple, using a form of carrying:

0 + 0 → 0

0 + 1 → 1

1 + 0 → 1

1 + 1 → 10, carry 1 (kerana 1 + 1 = 0 + 1 × binary 10)

Penambahan dua angka "1" menghasilkan angka "0", manakala 1 ditambah pada lajur seterusnya. This is similar to what happens in decimal when certain single-digit numbers are added together; if the hasil equals or exceeds the value of the radix (10), the digit to the left is incremented:

5 + 5 → 0, carry 1 (since 5 + 5 = 0 + 1 × 10)

7 + 9 → 6, carry 1 (since 7 + 9 = 6 + 1 × 10)

Ini dikenali sebagai carrying.Bila hasil of an addition exceeds the value of a digit, the procedure is to "carry" the excess amount divided by the radix (that is, 10/10) to the left, adding it to the next positional value. This is correct since the next position has a weight that is higher by a factor equal to the radix. Carrying works the same way in binary:

1 1 1 1 1  (carried digits)

0 1 1 0 1

+   1 0 1 1 1