Beginner
Assembly Language
Q37 / 100
What is SHL used for?
Correct! Well done.
Incorrect.
The correct answer is A) Shifting bits to the left, which multiplies by powers of 2
A
Correct Answer
Shifting bits to the left, which multiplies by powers of 2
Explanation
SHL EAX, 1 multiplies EAX by 2. SHL EAX, 3 multiplies by 8. Faster than MUL for power-of-2 multiplication.
Progress
37/100