Adding converting binary number

Binary number are base 2 ,not base 10 like decimal. 1 and 0 are the building bloocks of the computer language. 1 and 0 turn processes on or off. it’ s important to understand the science behign how binary numer are added to understand computer

instead of using the 10 -100 -1000 base system .binary uses the power of 0 power of 2 and four than 8 so on

you start adding the number from the right to the left.

Yes we start adding from the left. in the end we will find out the value in decimal. we start from the ones. if ones is 0. the sum is 0. into our equation.

one the two,we have a zero . so we get 0+1=1

four place we get 4+0+1=5

at the eaght we get 8+4+0+1=13

it’s pretty simple to add a binary, start atbany binary base, and add your self to the rightvwhere there are 1. add the base after base 4 there are base 2

lets just make random example

1 0 1 0 0

16 8 4 2 0 16+0+4+0 =20

sheck your self

now we are going to add binary number using place value

you sum the numbers from the right,

You simply solve the so called problem by setting it up from the right. we start solving the issue vertically regarding the direction your han write or type alpabet. we are only adding two digit

the sum can only be 0 1 or 2. lets say the sum i 0. you simply plot 0 in the first collomn. if the sum is 1, plot 1 in the colomn . if the sum is two write 0. and carry 1 in to the next columnR

  • For example, if adding 0111 and 1110, for the ones column you would add 1 one plus 0 ones = 1, so place a 1 in the answer’s ones column.

now we are at the spot for the next line,nr 2 column. reneber we had a carry. we have three oportunity 0 1 2 3 . the highest value always give a 1 with carry out. if the digit is zero write nothing but zero in the answear place of second column. if it is one write one.
If the sum is 2, write a 0 in the answer’s twos place, and carry a 1 into the fours column ,if sum is 3 , plot a 1ine the 3rd column, and carry 1 over

in the fours place

Have you tryed binary operator,they are the hardware building bloocks

Relatert bilde
the first is a xor 1 and 1 is 0, 1 from carry inn and zero is 1 on carry out
xor gate truth table

0 and 1 will create 0 .1 and 1 will create 1. the and gate under xor will only output o if theres a carry out. so lets say we have two 1 and one carry. the and gate under will output one. the or gate wil produce a output 1,due 0 from the top and + 1 from the botumn.

wops we have created the logic gates of adding number. 3 creates overflow. the full adder add only 1 and 1 number .to uutput 3 ,like 2+ 1 . we need two full adder, due the second will be the 2nd column like power of two,called second adder. it wil output 1 even you dont add anny vulue to a or b.

Bilderesultat for 4bit logic gate adder

Learn Assembly in programming


All comutrer device, devices, has mcu (microprocessor). The job of the mcu is to recieve control and logical or artimetic, operation

A procesor, can be any device that can handle input, and give you an output efect. like displaying on screen. or even loock up a closed door. (avrc).

machine language instructions’. like on or off

The processor understand only machine language code, wich are strings of 1 or 0. assembly is to complex for developing software,unless you have iq level of 500. the assembly is low level. and it represent various instruction in symbolic code

You may have heard the word assembly instruction, an c code function is made up of several assembly i nstructions

Basic compont off assembly harware

assembly is the internal harware, that contain processor memory,register. register are internal part of processor. they hold adresses and data. to execute data ,it get it from external device. ito internal memory. the program get executed as internal instruction

status registerflag register, or condition code register (CCR) . if a condition is meet, in the status flag bits register.

than it will lets an instruction take action depending on the outcome of a previous instruction.

The fundamental unit of computer storage is a bit; it could be ON (1) or OFF (0). A group of nine related bits makes a byte, out of which eight bits are used for data and the last one is used for parity. According to the rule of parity, the number of bits that are ON (1) in each byte should always be odd. read more about status register

So, the parity bit is used to make the number of bits in a byte odd. If the parity is even, the system assumes that there had been a parity error (though rare), which might have been caused due to hardware fault or electrical disturbance.