Difficulty: Easy
Correct Answer: arithmetic or logic function
Explanation:
Introduction / Context:
An arithmetic-logic unit (ALU) is the computational heart of a processor or digital datapath. Control or selector lines command the ALU to perform specific operations on its inputs, enabling instruction execution and micro-operations.
Given Data / Assumptions:
Concept / Approach:
ALU selector inputs choose among available functions: addition, subtraction (via two’s complement), increment, decrement, logical AND/OR/XOR/NOT, shifts/rotates (if integrated), etc. They do not select the chip itself, the data source, or the system clock rate; those are managed by other subsystems (decoder, multiplexers, clock generator).
Step-by-Step Solution:
Verification / Alternative check:
Examine classic ALUs (e.g., 74181). Control bits determine whether the unit performs arithmetic vs. logic operations and which specific function, confirming the principle.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing ALU function control with instruction decode or bus selection signals; remember the ALU only transforms input data according to these selector codes.
Final Answer:
arithmetic or logic function
Discussion & Comments