0.1 Use the following variable definitions for the coming question: .data dVall DWORD 87654321h dVal2 DWORD 12345678h arrayB BYTE 10h, 20h, 30h, 40h, 50h, 60h, 70h, 80h, 90h arrayW WORD 1000h, 2000h, 3000h, 4000h, 5000h, 6000h, 7000h, 8000h, 9000h arrayD DWORD 10000000h, 20000000h, 30000000h, 40000000h, 50000000h, 60000000h .code main PROC What will be the value of the destination operand after each of the following instructions execute in sequence? mov ax, OFEDCH movzx ebx, al (a) EBX = ? mov ax, OABCDH (b) EBX = ? movsx ebx, ah (c) EBX = ? mov ebx, dVal1 xchg ebx, dVal2 ; (d) EBX = ? (e) dVal2 = ? mov dVal1, edx ; (f) dvall = ? mov ch, arrayB i (g) CH = ? mov ch, [arrayB+8] ; (h) CH = ? mov ch, arrayw (i) CH = ? mov ch, [arrayW+8] i (j) CH = ? mov ecx, arrayD i (k) ECX = ? mov ecx, [arrayD+8] ; (1) ECX = ? 1 of 4

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter5: Working With Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 4AYK
icon
Related questions
Question
0.1
Use the following variable definitions for the coming question:
.data
dVall
DWORD 87654321h
dVal2
DWORD 12345678h
arrayB
BYTE 10h, 20h, 30h, 40h, 50h, 60h, 70h, 80h, 90h
arrayW
WORD 1000h, 2000h, 3000h, 4000h, 5000h, 6000h, 7000h, 8000h, 9000h
arrayD
DWORD 10000000h, 20000000h, 30000000h, 40000000h, 50000000h, 60000000h
.code
main PROC
What will be the value of the destination operand after each of the following
instructions execute in sequence?
mov ax, OFEDCH
movzx ebx, al
; (a) EBX
= ?
mov ax, OABCDH
; (b) EBX
= ?
movsx ebx, ah
(c) EBX
= ?
mov ebx, dVal1
xchg ebx, dVal2
; (d) EBX
= ?
(e) dVal2 = ?
mov dVal1, edx
(f) dvall = ?
mov ch, arrayB
i (g) CH
= ?
mov ch, [arrayB+8]
(h) CH
= ?
mov ch, arrayW
(i) CH
= ?
mov ch, [arrayW+8]
(9) CH
= ?
mov ecx, arrayD
; (k) ECX
= ?
mov ecx, [arrayD+8]
; (1) ECX
= ?
1 of 4
Transcribed Image Text:0.1 Use the following variable definitions for the coming question: .data dVall DWORD 87654321h dVal2 DWORD 12345678h arrayB BYTE 10h, 20h, 30h, 40h, 50h, 60h, 70h, 80h, 90h arrayW WORD 1000h, 2000h, 3000h, 4000h, 5000h, 6000h, 7000h, 8000h, 9000h arrayD DWORD 10000000h, 20000000h, 30000000h, 40000000h, 50000000h, 60000000h .code main PROC What will be the value of the destination operand after each of the following instructions execute in sequence? mov ax, OFEDCH movzx ebx, al ; (a) EBX = ? mov ax, OABCDH ; (b) EBX = ? movsx ebx, ah (c) EBX = ? mov ebx, dVal1 xchg ebx, dVal2 ; (d) EBX = ? (e) dVal2 = ? mov dVal1, edx (f) dvall = ? mov ch, arrayB i (g) CH = ? mov ch, [arrayB+8] (h) CH = ? mov ch, arrayW (i) CH = ? mov ch, [arrayW+8] (9) CH = ? mov ecx, arrayD ; (k) ECX = ? mov ecx, [arrayD+8] ; (1) ECX = ? 1 of 4
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L