Use the following data definitions data myBytes BYTE 10h,20h,30h,40h myWords WORD 3 DUP(?),2000h myString BYTE "ABCDE" What will be the value of EAX after each of the following instructions execute? mov eax,TYPE myBytes ; a. mov eax,LENGTHOF myBytes ; b. mov eax,SIZEOF myBytes ; c. mov eax,TYPE myWords ; d. mov eax,LENGTHOF myWords ; e. mov eax,SIZEOF myWords ; f. mov eax,SIZEOF myString ; g.

Respuesta :

Answer:

Given Data:

myBytes BYTE 10h, 20h, 30h, 40h

myWords WORD 3 DUP(?), 2000h

myString BYTE "ABCDE"

Based on the data that we are given we can conclude that:

(a).     a. EAX = 1

         b. EAX = 4

         c. EAX = 4

         d. EAX = 2

         e. EAX = 4

         f. EAX = 8

         g. EAX = 5