MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
While using the iterative construct (Branching) in execution ____ instruction is used to check the condition.
A
TestAndSet
B
Branch
C
TestCondn
D
None of the mentioned
Explanation: 

Detailed explanation-1: -While using the iterative construct (Branching) in execution instruction is used to check the condition. Explanation: Branch instruction is used to check the test condition and to perform the memory jump with the help of offset.

Detailed explanation-2: -Ans : The instruction cycle consists of four phases: fetching an instruction from memory, decoding the fetched instruction, reading the address from memory, and finally, instruction execution. The computer processor carries it out.

Detailed explanation-3: -Z, bit [30] Zero condition flag. Set to 1 if the result of the last flag-setting instruction was zero, and to 0 otherwise. A result of zero often indicates an equal result from a comparison.

Detailed explanation-4: -Instruction execution can be divided into small steps in different ways. One can divide it into two stages: instruction fetch and instruction execution (as e.g. in the Intel 8086).

Detailed explanation-5: -Fetch stage: The next instruction is fetched from the memory address that is currently stored in the program counter and stored into the instruction register. At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle.

There is 1 question to complete.