33076820_1177719815703511_3516433933057130496_n.jpg - What will be the value of the destination operand after each of the following instructions execute

# 33076820_1177719815703511_3516433933057130496_n.jpg - What...

• Homework Help
• 1

This preview shows page 1 out of 1 page.

#### You've reached the end of your free preview.

Want to read the whole page?

Unformatted text preview: What will be the value of the destination operand after each of the following instructions execute in sequence? [02] .data VAR DW 1000h,2090h,3000h,4000h MOV AX, VAR2 MOV AX, [VAR214] MOV AX, [VAR2-2] 21019 In the following instruction sequence, show the resulting value of AL. where indicated, in hexadecimal: [04] MOV AL, 7AH NOT AL IT IVIT 31319 MOV AL,3DH AND AL, 74H 41 19 MOV AL,9BH 3519 OR AL,35H 7219 MOV AL, 72H 6 13120 XOR AL,ODCH has executed: [04] Where indicated, write down the values of the Carry, Sign, Zero, and Overflow flags after each instruction CONTENT CF SF ZF OF 1019 MOV AX, 7FFOH ADD AL, 1OH ADD AH, 1 0 10 ADD AX, 2 10 0 0 0 What will be the final value of AX? And determine the number of counts program takes. [02] MOV AX,0 MOV CX,10 LI: MOV AX,3 MOV CX,S L2: ADD AX,5 LOOP L2 LOOP LI Write a MACRO to calculate the square of A by using a loop that adds A to the accumulator A times. (04] Page 4/5...
View Full Document

• Spring '19
• Aaron Rashotte

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes