Question: ( CSCI 3 6 5 ) Project Three: First MASM Program Objectives: 1 . Set up Visual Studio 2 0 1 5 2 . Be
CSCI Project Three: First MASM Program
Objectives:
Set up Visual Studio
Be able to code, assemble, and execute a program that adds and subtracts integers
Be able to define symbolic constants
Be able to create variables using all standard assembly language data types
Problem Description:
First set up Visual Studio on your computer. You may follow the instruction on authors website. Based on the version of you Visual Studio, you may click on Getting Started with MASM and Visual Studio or Getting started with MASM and Visual Studio to follow the instruction. When reach the installation section of instruction, you need to click link to download and follow the instruction to install Example programs and link library source code for the Seventh Edition. If you use VS you may download Updated bit Visual Studio project for VS Please notice, if you use this updated project, the existing example source file AddTwo needs to be removed from the project then add to project again appropriately.
Write a program that contain the following:
Using the AddTwo program from Section as a reference, write code to calculate the following expression, using registers: A ABCD Assign integer values to the EAX, EBX, ECX, and EDX registers
Write code that defines symbolic constants for all seven days of the week. Create an array variable that uses the symbols as initializers
The program must contain a definition of each data type listed in Table in Section of the textbook. Initialize each variable to a value that is consistent with its data type
Write code defines symbolic names for several string literals. Use each symbolic name in a variable definition
Basically, these are Programming Exercises on page of the textbook. Instead of writing four separated program, you just write one program to contain all features listed above.
Please name your source file as YourNameProjasm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
