Flags and Status Registers MCQs

50
Score: 0
Attempted: 0/50
Subscribe
1. : What is the primary purpose of the status register in a microprocessor?



2. : Which flag is set when the result of an arithmetic operation is zero?



3. : The Carry Flag (CF) is set when a(n) ______ occurs during an arithmetic operation.



4. : What is the function of the Parity Flag (PF)?



5. : Which flag is used to indicate whether a subtraction resulted in a borrow?



6. : What does the Overflow Flag (OF) indicate?



7. : When the result of an operation is negative, which flag is set?



8. : The Auxiliary Carry Flag (AF) is mainly used for which type of arithmetic operation?



9. : The Zero Flag (ZF) is cleared when the result of an arithmetic operation is:



10. : What is the size of the flags register in most x86 processors?



11. : Which of the following flags is NOT a part of the condition code register (CCR)?



12. : In a microcontroller, which flag is commonly set when a subtraction results in a borrow?



13. : The Sign Flag is set if the result of an operation is:



14. : In which scenario is the Carry Flag set to 1?



15. : The purpose of the Direction Flag (DF) in x86 processors is to:



16. : What does the Interrupt Flag (IF) control in a processor?



17. : Which flag is cleared to prevent interrupts in a microprocessor?



18. : The Overflow Flag (OF) is set during which of the following conditions?



19. : When a processor encounters an even number of 1’s in a result, the Parity Flag is:



20. : What does the Auxiliary Carry Flag (AF) indicate?



21. : Which flag is used to detect errors in transmission systems?



22. : The Direction Flag (DF) is cleared to make string operations process:



23. : Which register contains flags like Zero, Carry, and Overflow in most processors?



24. : When the result of an addition overflows a signed integer’s range, which flag is set?



25. : Which flag can indicate that no more instructions should be executed in a pipeline?



26. : In a microprocessor, which flag is checked to determine if a loop operation should continue?



27. : When the result of an arithmetic operation is even, which flag will be set?



28. : Which of the following flags will be cleared if the result of an operation is positive?



29. : The Zero Flag is primarily used to:



30. : Which flag is used to signal when an arithmetic result is too large for the destination operand?



31. : The Direction Flag (DF) is typically used in which type of instruction?



32. : Which flag is often checked before branching in conditional jump instructions?



33. : In x86 architecture, which flag is set if the result is less than zero in a subtraction operation?



34. : What is the main function of the Status Register in most CPUs?



35. : Which of the following flags is used in decimal arithmetic operations?



36. : The Carry Flag (CF) is typically checked in which of the following operations?



37. : When the Zero Flag (ZF) is set, it usually indicates:



38. : What happens to the Overflow Flag if an addition operation exceeds the signed integer limit?



39. : The Parity Flag is used to check:



40. : Which flag indicates that a string operation will proceed from lower to higher memory addresses?



41. : When a microprocessor executes a logical AND operation, which flag is NOT affected?



42. : Which flag is typically affected by an arithmetic right shift operation?



43. : In an x86 processor, the condition of which flag is used to control the IN/OUT instructions?



44. : Which flag can help identify if the system has encountered an integer overflow error?



45. : In a string comparison, which flag is crucial in determining if the strings are equal?



46. : What does it mean when the Carry Flag is set to 1 after a subtraction?



47. : The Auxiliary Carry Flag is set during operations that involve:



48. : The direction of string operations in assembly language is controlled by the:



49. : Which flag is used in signed number arithmetic to indicate a change in sign?



50. : If the result of a computation is zero, which flag will be set to 1?



 

Read More Computer Architecture MCQs

  1. SET 1: Computer Architecture MCQs
  2. SET 2: Computer Architecture MCQs
  3. SET 3: Computer Architecture MCQs
  4. SET 4: Computer Architecture MCQs
  5. SET 5: Computer Architecture MCQs
  6. SET 6: Computer Architecture MCQs
  7. SET 7: Computer Architecture MCQs
  8. SET 8: Computer Architecture MCQs
  9. SET 9: Computer Architecture MCQs

 

Contents Copyrights Reserved By T4Tutorials