Question: In the code snippet below, first fill in the values of ax, and then explain why you cant use INC to get esi to point
- In the code snippet below, first fill in the values of ax, and then explain why you cant use INC to get esi to point to the next value in the array.
.data
ArrayW WORD 1000h,2000Hh,3000h
.code
MOV esi,OFFSET ArrayW
MOV ax,[esi] ; ax = 1000h
ADD esi,2
MOV ax,[esi] ; ax = 2000h
ADD esi,2
MOV ax,[esi] ; ax = 3000h
Explain about INC question here:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
