MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The register used to store the flags is called as ____
A
Flag register
B
Status register
C
Test register
D
Log register
Explanation: 

Detailed explanation-1: -A status register, flag register, or condition code register (CCR) is a collection of status flag bits for a processor.

Detailed explanation-2: -14.4. Status registers are used to test for various conditions in an operation, such as ‘is the result negative’, ‘is the result zero’, and so on. The two status registers have 16 bits and are called the instruction pointer (IP) and the flag register (F): • IP, which is the instruction pointer.

Detailed explanation-3: -The FLAGS register is the status register that contains the current state of a x86 CPU. The size and meanings of the flag bits are architecture dependent. It usually reflects the result of arithmetic operations as well as information about restrictions placed on the CPU operation at the current time.

Detailed explanation-4: -Status register bits are also called flags, or flag bits, and are used by the programmer for certain programming purposes. Each flag in a status register has a unique purpose. The carry flag sets if a previous operation made the seventh bit-or negative flag-overflow, or made the carry flag underflow.

Detailed explanation-5: -These five status flags are kept in a special register called the Program Status Register (PSR). The PSR also contains other important bits that control the processor.

There is 1 question to complete.