This preview shows page 1. Sign up to view the full content.
Unformatted text preview: PA = (DS)0 + (BX) + (AL) = (DS)0 + 100 + AL We dont know the values in DS or AL 3. Write an instruction that will add the immediate value 111F 16 and the carry flag to the contents of the data register? ADC D, 111FH 4. Write an instruction that will mask off all but bit 3 ad bit 5 of the word of data stored at address DS: 100H. AND WORD PTR [100H], 0040H 0060H 5. Identify the condition under which the contents of AX would remain unchanged after execution of the instructions that follow: MOV CL, 4 SHL AX, CL SHR AX, CL If there are a zeros all the way to the right and all the way to the left. Because it moves everything to the left and then to the right....
View Full Document
- Spring '08