ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A component that executes program instructions
|
LCD
|
|
CPU
|
|
RAM
|
|
USB
|
Explanation:
Detailed explanation-1: -The CPU is often simply referred to as the processor. The ALU performs arithmetic operations, logic operations, and related operations, according to the program instructions.
Detailed explanation-2: -The actual mathematical operation for each instruction is performed by a combinational logic circuit within the CPU’s processor known as the arithmetic–logic unit or ALU. In general, a CPU executes an instruction by fetching it from memory, using its ALU to perform an operation, and then storing the result to memory.
Detailed explanation-3: -The CPU reads the instruction from the data bus into an instruction register. The CPU then decodes and executes the instruction (3).
There is 1 question to complete.