MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Microprocessors knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The instruction that shifts 8 LSB bits of ECX into the MSB positions of EAX, one by one starting from LSB of ECX is |
| A. | SHLD ECX,EAX,8 |
| B. | SHLD EAX,ECX,8 |
| C. | SHRD ECX,EAX,8 |
| D. | SHRD EAX,ECX,8 |
| Answer» E. | |
| 2. |
The instruction that shifts the specified number of bits in the instruction, from the upper side of the source operand into the lower side of the destination operand is |
| A. | SHRD |
| B. | SHLD |
| C. | SETNS |
| D. | None of the mentioned |
| Answer» C. SETNS | |
| 3. |
In case of BT instruction, if the bit position in the destination operand specified by the source operand, is 1 , then |
| A. | zero flag is reset |
| B. | carry flag is set |
| C. | VM flag is set |
| D. | RF flag is reset |
| Answer» C. VM flag is set | |
| 4. |
If a 1 is not encountered when an operand is scanned by BSR, then |
| A. | zero flag is reset |
| B. | zero flag is set |
| C. | VM flag is reset |
| D. | RF flag is set |
| Answer» B. zero flag is set | |
| 5. |
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» C. VM flag is set | |
| 6. |
The BSR (bit scan reverse) instruction scans the operand in the order |
| A. | from left to right |
| B. | from right to left |
| C. | from upper nibble |
| D. | none of the mentioned |
| Answer» B. from right to left | |