Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Case Study Expert

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 assembly programs that are part of this course.

Your North Lake College student ID number is a 7-digit number. Begin by splitting your student ID into two different values. Assign the three most significant digits to a variable called 'left' and the four least significant digits to a variable called 'right'.

You must choose the data type that is appropriate for the range of decimal values 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 'Array' 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 'Array'. Store this 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 DumpReg routine to display the contents of the registers.

Submit your assembly language source code and a screen shot of the output packaged as a single file in ".ZIP" format. Call your file Project1.zip where "First Initial" is the first letter in your first name and "Last Initial" is the first letter in your last name. If your name were John L. Smith, the file would be called, "JSProject1.zip".

Case Study, Writing

  • Category:- Case Study
  • Reference No.:- M91965204

Have any Question?


Related Questions in Case Study

Question 1requiredwhat is the major environmental or

QUESTION 1 Required: WHAT is the major environmental or resource issue, HOW is it caused and WHERE is it occurring? WHAT is the main resource involved and HOW is it being impacted or developed? WHO are the primary stakeh ...

Read gourmand and food- a fable longest amp darra read and

Read "Gourmand and Food- A fable" (Longest & Darr) a. Read and analyze the fable of Gourmand. b. How well does the allegory fit delivery of healthcare in the United States? c. What is and what should be the role of consu ...

This paper will consist of an ethical analysis of the bp

This paper will consist of an ethical analysis of the BP oil spill. There is one source provided to start this research, cite at least four other sources. This source has a particular case because it has an interesting a ...

Assessment task - reflectiona reflection on growth

Assessment Task - Reflection A reflection on growth, development and ageing in exercise science careers Unit Learning Outcome (s) assessed This assessment task will assess your ability to apply key concepts of growth, de ...

The british airways swipe card debaclethoroughly read the

The British Airways Swipe Card Debacle Thoroughly read the case study and fully answer questions 1,3, and 4 located on page 241. Your report for solving the case must include the following headings: - Overview - Summariz ...

Fever case study -elena is a 74-year-old hispanic f who was

Fever Case Study - Elena is a 74-year-old Hispanic F who was recently discharged one week ago from a local rehabilitation center after status post left hip replacement (one month ago). Negative for any complications. PMH ...

Clapham rail disastercritical analysis of disaster

Clapham Rail Disaster Critical analysis of disaster event Critical analysis of disaster response Recommendations for improving the effectiveness of response Linkage of disaster response to professional role

Importance of communicable disease surveillanceword

Importance of communicable disease surveillance. word count:300

Physiology signature assignmentfor your signature

Physiology: Signature Assignment For your signature assignment, compose a 3- to 4-page case analysis (in addition to a title, abstract, and a reference page) written in APA format with at least 3 references, with one non ...

Case study assignment -case study - observations are

Case Study Assignment - Case study - Observations are Critical in Patient Safety (23/8/17). A complaint alleging unsatisfactory professional conduct was made against a Registered Nurse (RN) who it was claimed failed in h ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As