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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education