If a ‘1’ is encountered when an operand is scanned by BSF, then

Quốc Ân

New member
If a ‘1’ is encountered when an operand is scanned by BSF, then
A. zero flag is reset
B. zero flag is set
C. VM flag is set
D. RF flag is reset
 
Answer: b
Explanation: The BSF instruction scans the operand from right to left. If a ‘1’ is encountered during the scan, zero flag is set, and the bit position of ‘1’ is stored into the destination operand.
 

Tìm kiếm

Back
Top