View the step-by-step solution to:

Question

I am stuck on this question and I need help


Suggest the following assembly program using

assembly language. Place the following list of integers in memory,

A = (1, 2, 3, 4, 5, 6)

B = (300, 150, 50, 20, 10, 5)

C = (500, 2, 5, 10)

Place any full name "Last Name, First Name" in contiguous memory


Output should look like

Print any name "Last Name, First Name" on the screen. You don't need the quotes but you do need the comma.

Print a blank line.

Add all the elements of list B together; print each result (intermediate and final) on screen. Put 2 spaces between each result.  pay attention to this (e.g., 450)  pay attention to this

Print a blank line.  pay attention to this

Multiply all the elements of list A together; print each result (intermediate and final) on screen. Put 2 spaces between each result. (e.g., 2)  pay attention to this

Print a blank line.

Divide the final result from part 3, by each element in list B (the results are not cumulative). Put 2 spaces between each result. (e.g., 1)

Print a blank line.

Subtract from the final result of part 5 each element of list C (the results are not cumulative). Put 2 spaces between each result. (e.g., 220)

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes