Computer Science, asked by shivanibhandari, 1 year ago

how are the instructions of a program executed by a computer?

Answers

Answered by siddhartharao77
2
The compiler translates the high level written instruction into binary language and then the instructions are executed by the ALU and then again it is translated to high-level language and the output is displayed to the user.


Hope this helps!
Answered by Anshu33845
0

Answer:

Suppose, you prepare or create a C software which is also known as executable file. Then, if you want to look this on you desktop. Then, we take executive file and in our hard disk and then we have to save the executive file in our computer hard disk then we double click on the the executive file and a copy of executive file is created and loaded in your RAM. As we know that RAM is a volatile memory if data is Vanish out from ramp after the data preserved in hard disk. The size of one instruction is 16 bits (fixed). The first instruction goes into the processor in memory unit (set of registers). The first instruction stores in the instruction register. There is a control unit in processor which read instruction and decode it and control unit give instruction to Arithmetic Logical Unit to work on that instruction. The Arithmetic Logical Unit is responsible to perform all Arithmetic and Logical operation and calculation.

Similar questions