Question: Given the following array definition, write a constant declaration named arraySize that automatically caleulates the size in bytes, of the array when placed 1. immediately

 Given the following array definition, write a constant declaration named arraySize

Given the following array definition, write a constant declaration named arraySize that automatically caleulates the size in bytes, of the array when placed 1. immediately after this: newArray WORD 10, 20, 30,40, 50 a) arraySize- (S-newArray) b) arraySize (S-newArray)/2 c) arraySize- (S-newArray)/4 d) arraySize (S-arraySize) 2. In the following data definition, assume that List2 begins at offset 2000h. What is the offset of the third value (5)? 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

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!