Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello, I would really appreciate some help with my Intro to Assembly Language cl

ID: 662280 • Letter: H

Question

Hello, I would really appreciate some help with my Intro to Assembly Language class. Thank you very much in advance!

Q#3. Using the following data definitions:

.data

ArrayB BYTE 10h, 20h, 30h, 40h, 50h

ArrayW Word 100h, 200h, 300h

ArrayD DWORD 10000h, 20000h

Find all illegal statements from the following, simply encircle (or check) the number, for each correct instruction:

1. MOV AX, ArrayB+1

2. MOV AL, ArrayB+2

3. ADD ArrayB, ArrayB+1

4. NEG ArrayW

5. MOV EAX, ArrayW+6

6. MOV ESI, OFFSET ArrayW

MOV EAX, [ESI+6]

7. MOV ESI, 6

MOV EAX, ArrayW[ESI]

8. MOVZX BH, ArrayB

9. MOVSX EBX, ArrayB+2

10. MOV ArrayD+1, EBX

Explanation / Answer

Correct Instructions:-

1, 2, 3, 4, 8, 9, 10

Illegal statements:-

5, 6, 7

Reason for 5,6,7 as illegal:- 6th element is not present in ArrayW

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote