Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

Students also viewed these Databases questions