Bit Operations
Answer the following questions:
a. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:FA 75 | and ax, 000fh | AX, SF, ZF |
b. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:FA 75 | or ax, 0fff0h | AX, SF, ZF |
c. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:FA 75 | or ax, 0ffffh | AX, SF, ZF |
d. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:A8 B5 | shr ax, 1 | AX, CF, OF |
e. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:A8 B5 | ror ax, 1 | AX, CF |
f. For each part of this problem, assume the “before” values when the given instruction is executed. Give the requested “after” values.
| Before | Instruction | After |
AX:A8 B5 CL:04 | rol ax, cl | AX, CF |
**PLEASE SEE ATTACHMENT**
11 years ago
20
Purchase the answer to view it

- bit_operations.docx
- A-plus Writer
- Assignment 2
- artff
- Accounting homework
- Engineering Ethics paper - Philosophy
- PEER REVIEW 2 FROM STUDENT
- 1
- Perfect Solution: Accounting Problems E15.5 E16.3 and Wilkins Inc
- Phase 4 Discussion Board
- Discuss the benefits and risks involved in using "cloud computing". Although similar to SaaS, it is different and offers advantages...