Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assembly Language x86 Processors Part 1 (movzx/movsx practice). Copying Smaller Values to Larger Ones Declare two 16-bit variable to store 100 and -100. Then move

Assembly Language

x86 Processorsimage text in transcribedimage text in transcribed

Part 1 (movzx/movsx practice). Copying Smaller Values to Larger Ones Declare two 16-bit variable to store 100 and -100. Then move them to 32-bit registers. Catch the screenshots from running in debugger mode to identify the value saved in each register is correct. How to verify the values are correctly moved? Sample output Registers + x EAX = 00000064 EBX = FFFFFF9C ECX = 01001005 EDX = 01001005 ESI = 01001005 EDI = 01001005 EIP = 0100101E ESP = 00F5FA98 EBP = 00F5FAA8 EFL = 00000244 ov = e UP = EI = 1 PL = O ZR = 1 AC = 0 PE = 1 CY = 0 Watch 1 Name ebx edx Ginta G intB Value 100 4294967196 16781317 16781317 100 -100 Registers + x EAX = 00000064 EBX = FFFFFF9C ECX = 01001005 EDX = 01001005 ESI = 01001005 EDI = 01001005 EIP = 0100101E ESP = 60F5FA98 EBP = B0F5FAA8 EFL = 00000244 ov = @ UP = 0 EI = 1 PL = O ZR = 1 AC = 0 PE = 1 CY = 0 Watch 1 Name - ebx edx G intA G intB Value Ox00000064 Oxffffff9c Ox01001005 Ox01001005 Ox0064 Oxff90 Part 2: Write a program that rearranges the values of four word values in the following array as: 4, 3, 2, 1. .data Part 1 (movzx/movsx practice). Copying Smaller Values to Larger Ones Declare two 16-bit variable to store 100 and -100. Then move them to 32-bit registers. Catch the screenshots from running in debugger mode to identify the value saved in each register is correct. How to verify the values are correctly moved? Sample output Registers + x EAX = 00000064 EBX = FFFFFF9C ECX = 01001005 EDX = 01001005 ESI = 01001005 EDI = 01001005 EIP = 0100101E ESP = 00F5FA98 EBP = 00F5FAA8 EFL = 00000244 ov = e UP = EI = 1 PL = O ZR = 1 AC = 0 PE = 1 CY = 0 Watch 1 Name ebx edx Ginta G intB Value 100 4294967196 16781317 16781317 100 -100 Registers + x EAX = 00000064 EBX = FFFFFF9C ECX = 01001005 EDX = 01001005 ESI = 01001005 EDI = 01001005 EIP = 0100101E ESP = 60F5FA98 EBP = B0F5FAA8 EFL = 00000244 ov = @ UP = 0 EI = 1 PL = O ZR = 1 AC = 0 PE = 1 CY = 0 Watch 1 Name - ebx edx G intA G intB Value Ox00000064 Oxffffff9c Ox01001005 Ox01001005 Ox0064 Oxff90 Part 2: Write a program that rearranges the values of four word values in the following array as: 4, 3, 2, 1. .data

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions

Question

design a simple performance appraisal system

Answered: 1 week ago