Question
26. Use the following data for this question: word1 WORD 1000h,2000h,3000h,4000h,5000h dword1 DWORD 10000h,20000h,30000h,40000h What is the final value of AX after this code has
26. Use the following data for this question:
word1 WORD 1000h,2000h,3000h,4000h,5000h
dword1 DWORD 10000h,20000h,30000h,40000h
What is the final value of AX after this code has executed?
mov esi,OFFSET word1
mov ecx,5
mov eax,100h
L1: add ax,[esi]
add ax,16
add esi,TYPE word1
Loop L1
a. F150h
b. 0150h
c. F016h
d. 0016h\
30. What is the value stored in AX after the following code executes?
.data
array DWORD 3000h, 1000h, 4000h, 1000h, 5000h, 9000h, 2000h
.code
MOV ESI,OFFSET array
MOV AX,[ESI]
MOV AX,[ESI+4]
MOV AX,[ESI+8]
MOV AX,[ESI+16]
a. 1000h
b. 2000h
c. 3000h
d. 4000h
e. 5000h
f. 9000h
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started