b) With the aid of Visual Studio, trace the result for each of the instruction in Code Segment. Show or explain your answers in hexadecimal format. (i) DATA Arrl WORD 50h, 60h, 70h, 80h Arr2 DWORD...


b)<br>With the aid of Visual Studio, trace the result for each of the instruction in Code Segment.<br>Show or explain your answers in hexadecimal format.<br>(i)<br>DATA<br>Arrl WORD 50h, 60h, 70h, 80h<br>Arr2 DWORD 300h, 400h, 500h, 600h<br>.CODE<br>MOV CX , [Arrl+2]<br>MOV DX , [Arrl+6]<br>MOV EBX , [Arr2+8]<br>(ii)<br>.DATA<br>Datal SBYTE -60<br>.CODE<br>MOV AL , Datal<br>CBW<br>MOV BL , +7<br>IDIV BL<br>(ii)<br>DATA<br>Arr3 WORD 800h, 900h, 1000h<br>.CODE<br>MOV EDI , OFFSET Arr3<br>MOV BX , [EDI]<br>ADD EDI , TYPE Arr3<br>ADD BX , [EDI]<br>ADD EDI , 2<br>ADD BX , [EDI]<br>

Extracted text: b) With the aid of Visual Studio, trace the result for each of the instruction in Code Segment. Show or explain your answers in hexadecimal format. (i) DATA Arrl WORD 50h, 60h, 70h, 80h Arr2 DWORD 300h, 400h, 500h, 600h .CODE MOV CX , [Arrl+2] MOV DX , [Arrl+6] MOV EBX , [Arr2+8] (ii) .DATA Datal SBYTE -60 .CODE MOV AL , Datal CBW MOV BL , +7 IDIV BL (ii) DATA Arr3 WORD 800h, 900h, 1000h .CODE MOV EDI , OFFSET Arr3 MOV BX , [EDI] ADD EDI , TYPE Arr3 ADD BX , [EDI] ADD EDI , 2 ADD BX , [EDI]

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here