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

 show work 1. Given the following array definition, write a constant

show 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 a) arraysize=(S-newArray) b) arraysize#(S-new,Array)/2 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 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 3. a. EAX-98769878 b. EAX- 98789876 c. EAX-98765432 d. EAX-98769876 4. 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? newArray WORD 10, 20, 30, 40, 50 a. ArrayCount- LENGTHOF new Array 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!