Reference no: EM133642258
Assignment: Computer Project Assembly Language Software Use Masm & Visual Studio- Programming Project
You will write a simple assembly language program that performs a few arithmetic operations. This will require you to establish your programming environment and create the capability to assemble and execute the other assembly programs that will be part of this course.
Your North Lake College student ID number which is ( 3711565 ) Begin by splitting your student ID into two different values. Assign the four most significant digits to a variable called 'left' and the three least significant digitsto a variable called 'right'.
You must choose the data type that is appropriate for the range of decimalvalues each variable can store. You will choose a data type when you define each of the variables in your program. Try to make efficient use of memory.
Calculate the sum of the two variables 'left' and 'right'. Store this result in a variable called 'total'.
Calculate the positive difference between the variables 'left' and 'right'. Store this result in a variable called 'diff'.
Define a character string called 'message' that contains the characters, "Hello World!".
Define an array of data type WORD called 'numbers' that is initialized to the following values: 1, 2, 4, 8, 16, 32, and 64.
Write assembly language code using what you know so far (do not look ahead in the book just yet) to determine the length of 'numbers'. Storethis value in a variable called 'arrayLength'.
Move the contents of the variable 'left' into the EAX register.
Move the contents of the variable 'right' into the EBX register.
Move the contents of the variable 'total' into the ECX register.
Move the contents of the variable 'diff' into the EDX register.
Move the contents of the variable 'arrayLength' into the ESI register.
Call the author's DumpRegroutine to display the contents of the registers.
Submit your assembly language source code and a screen shot of the output. Call your file "XYProject1.asm" where "X" and "Y" are your first and last initials respectively. If your name were John L. Smith, the file would be called, "JSProject1.asm".
Instruction
Use the Project32 provided by the textbook author (here).https://asmirvine.com/index.htm (Getting Started with MASM and Visual Studio is where you want to go.) Delete the .asm code provided in Project32, copy your .asm code and paste it into the project. Compile it by choosing Build >> Build Project . If it builds successfully then run it by choosing Debug >> Start without debugging. (This is also how I will be grading your submitted projects.)
A. For this program you must include the Irvine library (INCLUDE Irvine32.inc). This is explained in Chapter 5 in our book.
B. You also must call DumpRegs in your program. Your output will look something like the sample output.
Describe how they all come together to make
: Describe how they all come together to make (or break) motivation, leadership, empowerment, and communication for you,
|
Explore the role of quality management systems
: Explore the role of quality management systems in manufacturing or service configuration and how they have influenced supply chain quality.
|
How component fits into overall professional scrum framework
: For your discussion, pick one of the components of the framework and summarize what it entails and how it fits into the overall Professional Scrum framework.
|
Strategic management specialist
: Jaime is a strategic management specialist who uses a tool to assess the competitiveness and structure of all the urology practices in his state.
|
Calculate the sum of the two variables left and right
: COSC 2425- Calculate the sum of the two variables left and right. Define a character string called message that contains the characters, Hello World!.
|
How might development of skills
: How might development of skills you feel you lack help you to become better leader? How do you feel skills you possess will support you in your leadership?
|
How controlling processes can affect project integration
: Explain how controlling processes can affect project integration, scope, time, cost, quality, and especially risk.
|
Analyze the protocols on two different operating systems
: Analyze the protocols on at least two different operating systems from a threat interception standpoint.
|
Explain your approach to minimizing your companys impact
: Explain your approach to minimizing your company's impact on the environment, considering all aspects of your operations.
|