CISC 225 NCC First Assembly and The C Program Question

First Assembly ProgramPlease see the attached C++ program, first.cpp. Write an assembly program that produces the same
results as the code in this program. In other words, you should allocate memory locations by the same
name and of the same type shown in this program, and carry out equivalent operations to change those
memory locations in the same way.
Note that the iostream library and cout statements are commented out. We have not yet seen
mechanisms to produce output in assembly programs. However, if you uncomment those parts of the
C++ program, you can see values of the variables.
When writing the assembly program, use the debugger to verify that the named memory locations
result in the same values that are produced by the C++ program.
Include comments in your assembly code to explain how you are implementing the equivalent C++
code. You might include a comment that includes the C++ statement just before your group of
instructions that carries out the equivalent assembly code.
When you turn in this assignment, download your Replit project as a Zip file and upload that file to the
assignment item on Blackboard. Do not copy the assembly source file and paste into the assignment
text box on Blackboard. Be sure to upload your Replit Zip file as an attachment.
long var1 = 15; // 32-bits
long var2 OxOA;
long var3 =
-7;
short var4 =
short var5
short var6 =
17; // 16-bits
-21;
0x31;
long long var7 = 1; // 64-bits
long long var 8 -5;
long long var9 = 15;
long long var 10; // uninitialized
//#include
int main() {
var1 += var2;
var3++;
var1 = (var1
4) + var3;
var4 += 20;
var5 -= –var4;
var6 = (var5 var6) + (var4
2);
var7 += (var8– + ++var9);
var 10
= var 7 + var8 + var9;
11
11
1
11
//
//
//
//
//
//
//
//
//
std::cout

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed

54

100% original papers

We sell only unique pieces of writing completed according to your demands.

54

Confidential service

We use security encryption to keep your personal data protected.

54

Money-back guarantee

We can give your money back if something goes wrong with your order.

Enjoy the free features we offer to everyone

  1. Title page

    Get a free title page formatted according to the specifics of your particular style.

  2. Custom formatting

    Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.

  3. Bibliography page

    Don’t pay extra for a list of references that perfectly fits your academic needs.

  4. 24/7 support assistance

    Ask us a question anytime you need to—we don’t charge extra for supporting you!

Calculate how much your essay costs

Type of paper
Academic level
Deadline
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask experts to write you a cheap essay of excellent quality

Place an order