Here we are going to learn how a computer machine execute an addition and other operation . Before of it we need to learn that how a program execute by the computer.
List of Steps for Attempted Program Execution.
List of Steps for Attempted Program Execution.
- Place numeric values into memory locations
- Load those values from the memory locations into different registers
- Perform the operation to the values stored in the registers and place the result in another register.
- Store the result from the register into a memory location
- Use the "Halt" operation to stop the program.
Now we discuss how an operation of addition execute on our machine (computer)
Assume two integer value. Like I consider that N1=10 and N2=20. the numbers are changed in machine language by the compiler. Now N1=1010 and N2=10100.
Now the values saved in different resisters . The value pass through the gate (OR GATE) .
I hope you will understand how a operation performed by the machine
>> How to change decimal to binary
>>How to change decimal to hexadecimal
>> How to change decimal to octal
>> How to change binary to decimal
Now the values saved in different resisters . The value pass through the gate (OR GATE) .
now we learn the process of execution of addition operation perform.
I hope you will understand how a operation performed by the machine
>> How to change decimal to binary
>>How to change decimal to hexadecimal
>> How to change decimal to octal
>> How to change binary to decimal