Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!