How Are Instructions Stored Into The Memory And Then Interpreted By A Computer?
Can't find what you're looking for?
Ask a Question, Get an Answer ASAP
First of all instructions from input devices are loaded into the main memory of the computer. Address register stored addresses of each instruction. After storing the instructions, content of instruction register are stored in the buffer register. Each instruction is then transfer into the instruction register.
Counter register counts the number of instructions executed by control unit (CU). Counter register points instruction register the next instruction to be executed. Instructions that fetched from the main memory are executed by instruction register through buffer register. It uses decoding circuits to interpret the instructions. If instruction to be executed is an arithmetic or logic instruction, the control transfers the control to arithmetic logic unit (ALU). The accumulator register takes the data from buffer register and sends it to the arithmetic logic unit (ALU) for execution. After execution of the instructions in the arithmetic logic unit (ALU), the results are stored again in the accumulator.
The accumulator returns the result to the buffer register and stores it into the main memory of computer. If there is any overflow of data or in results returned by arithmetic logic unit (ALU), the arithmetic logic unit (ALU) returns zero or negative value to the accumulator.
answered 2 years ago
Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.