Question: Question 3: [4+ 4+ 10 = 18 Marks] : : 85 org 100h 96 82.data 08 99 vart dw 2 10 var2 dw 67. 15,
![Question 3: [4+ 4+ 10 = 18 Marks] : : 85](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f31c202aadf_47966f31c1fba403.jpg)
Question 3: [4+ 4+ 10 = 18 Marks] : : 85 org 100h 96 82.data 08 99 vart dw 2 10 var2 dw 67. 15, 34, 33 11 12 var3 dw 5 dupe 13 14 code 15 16 main proc novax, edata nov ds. ax 19 20 nov si, 6 21 22 rep! 23 nov cx, 2 24 xor bx, bx 25 XOP ax, ax 26 for: 29 add ax, var2 [BX+SI) 39 add BX 8 31 loop for 32 33 xor dx.dx 34 div var 1 35 Roy var3[SI], ax 36 sub si, 2 32 nl rep . 38 39 POV ah, 4ch 40 int 21h 41 42 nain endp 43 44 end na in 45 46 ret NOTE: Answer each question based on your own understanding and with proper reasoning (a) Write each addressing mode used in instructions mentioned in LINE 29. 30. 35. 34. Also state reasoning. [4] (6) Assume offset address of variables used in this code. Based on your used assumed addresses show how these variables are stored in memory. (Do not use emulator for this part) [4] (c) Do this task using stack instead of array. [10]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
