MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
General purpose registers in the processor are used for
A
storing data for arithmetic, logical or shift operations
B
storing data permanently
C
storing output from the data bus, after being processed
D
general purpose processing
Explanation: 

Detailed explanation-1: -The general-purpose registers are used to calculate data and store addresses. The control register is further classified into the PC (program counter) to control program progress and the CCR (condition code register) to test conditions.

Detailed explanation-2: -General purpose registers are additional registers that are present in CPU which is used for either memory address or data whenever needed. For example, storing current register content when there is an interruption.

Detailed explanation-3: -AX (Accumulator) This is accumulator register. It is of 16 bits and is divided into two 8-bit registers AH and AL to also perform 8-bit instructions. It is used in arithmetic, logic and data transfer instructions in 8086 microprocessors.

Detailed explanation-4: -An accumulator is primarily used as a register in a CPU to store intermediate logical or arithmetic data in multistep calculations. For such calculations, it functions as a temporary storage location.

There is 1 question to complete.