Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 (5 points) USE Microsoft Visual Studio on your own computer or CS remote server (webterminal.cs.uno.edu) and practice the example problems (addition with registers,

image text in transcribed

Problem 1 (5 points) USE Microsoft Visual Studio on your own computer or CS remote server (webterminal.cs.uno.edu) and practice the example problems (addition with registers, addition with variables) shown in lecture slides of Chapter 3. To get points for this problem, you need to show proofs: screenshots of Visual Studio running on your computer with system time information (the exact time when you are performing this), debugging screens, and register windows for at least 2 examples. Produce at least 2 screenshots, one for each example. You may have additional screenshots. Problem 2 (5 points): Write an assembly program that evaluates the following expression using MOV, ADD/SUB, NEG, and INC/DEC instructions. varA = (varA + varB) - (-varC + varD++), where varA, varB, etc., are variables and ++ is the increment operator. Assign integer values to the variables. (Meaning, you may hardcode the inputs.) You do not need to print out the result. You may simply store the result in EAX. Debugging should reveal that the result is correctly stored in EAX. If you choose to display the result on screen, that is also fine (but again, not required). Problem 1 (5 points) USE Microsoft Visual Studio on your own computer or CS remote server (webterminal.cs.uno.edu) and practice the example problems (addition with registers, addition with variables) shown in lecture slides of Chapter 3. To get points for this problem, you need to show proofs: screenshots of Visual Studio running on your computer with system time information (the exact time when you are performing this), debugging screens, and register windows for at least 2 examples. Produce at least 2 screenshots, one for each example. You may have additional screenshots. Problem 2 (5 points): Write an assembly program that evaluates the following expression using MOV, ADD/SUB, NEG, and INC/DEC instructions. varA = (varA + varB) - (-varC + varD++), where varA, varB, etc., are variables and ++ is the increment operator. Assign integer values to the variables. (Meaning, you may hardcode the inputs.) You do not need to print out the result. You may simply store the result in EAX. Debugging should reveal that the result is correctly stored in EAX. If you choose to display the result on screen, that is also fine (but again, not required)

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_2

Step: 3

blur-text-image_3

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

How can you defend against SQL injection attacks?

Answered: 1 week ago