Question: show all the work 1. Given the following array definition, write a constant declaration named arraySize that automatically calculates the size in bytes, of the

 show all the work 1. Given the following array definition, write

show all the work

1. Given the following array definition, write a constant declaration named arraySize that automatically calculates the size in bytes, of the array when placed immediately after this: newArray WORD 10, 20, 30, 40, 50 arraysize=(S-newArray) arraysize=(S-newArray)/2 a) b) e) arraySize (S-newArray)/4 d) arraySize (S-arraySize In the following data definition, assume that List2 begins at offset 2000h. What is the offset of the third value (5)? 2. List2 DWORD 3, 4, 5, 6,7 a. 2008h b. 2002h c. 2000h d. 2004h 3. TRACE- What will EAX contain after the following instructions execute? data Dval DWORD? .code main PROC Mov dVal, 98765432 Mov ax, word ptr dVal+2 Add ax, 2 Mov word ptr dVal, ax Mov eax, dVal a. EAX= 98769878 b. EAX 98789876 c. EAX=98765432 d. EAX-98769876 Given the following array definition, which letter choice contains a valid constant declaration named ArrayCount that automatically calculates the number of elements in the array? 4. newArray WORD 10, 20, 30, 40, 50 a. ArrayCount LENGTHOF newArray b. ArrayCount TYPEOF newArray c. ArrayCount SIZEOF newArray d. ArrayCount OFFSET newArray Page 1 of 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!