Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ASSEMBLY LANGUAGE :::::: A = (1, 2, 3, 4, 5, 6) B = (300, 150, 50, 20, 10, 5) C = (500, 2, 5, 10)

ASSEMBLY LANGUAGE ::::::

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

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

C = (500, 2, 5, 10)

Place your full name Last Name, First Name in contiguous memory

1) Print your name Last Name, First Name on the screen.

2) Print a blank line.

3) Add all the elements of list B together; print each result (intermediate and final) on screen. Put 2 spaces between each result.

4) Print a blank line.

5) 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)

6) Print a blank line.

7) 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)

8) Print a blank line.

9) 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)

Create a directive for each element of the list and letter of your name.

Example.

A1 .INT 1

A2 .INT 2

A3 .INT 3

C .BYT 'C'

u .BYT 'u'

r .BYT 'r'

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

=+industrial action Under what circumstances can unions strike?

Answered: 1 week ago

Question

=+What forms of industrial action are common?

Answered: 1 week ago