Difficulty: Easy
Correct Answer: Bit manipulation
Explanation:
Introduction / Context:
Logical operations form a separate class from arithmetic in many instruction sets. They are essential for masking, flag testing, and condition formation. This question asks which category includes AND, OR, and TEST.
Given Data / Assumptions:
Concept / Approach:
Because these operations change or evaluate bits directly, they are categorized under logical/bit manipulation instructions rather than arithmetic or control flow.
Step-by-Step Solution:
Verification / Alternative check:
Architecture manuals list AND/OR/TEST among logical/bit operations (often with XOR, NOT, shifts, and rotates).
Why Other Options Are Wrong:
Common Pitfalls:
Assuming TEST is arithmetic because it affects flags; it is still a bitwise logic evaluation.
Final Answer:
Bit manipulation
Discussion & Comments