Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Assembly Expert

Assembly Language Programming

problem: prepare a program which will generate 25 WORD values in the range from +/-50 representing a two dimensional array of size 5 x 5. It must then display the array as a table (5 x 5) by calling a procedure and then display the given menu:

1) Compute the sum of the positive elements of each row.

2) Compute the sum of negative elements of the specified column.

3) Compute the sum of all the elements of array.

4) Count the negative numbers in the array.

5) Compute the sum of diagonal elements of the array.

6) Quit.

For each of such tasks:

a) Organize the tasks into procedures.

b) Pass parameters to the procedure(s) using the stack.

c) Don’t use any global variables – create local variables in the stack when necessary.

d) Display the suitable message and result after each procedure is done.

e) Call a procedure to display the array as a table and redisplay the menu after each and every task is completed and reported.

f) Access the data as elements of a two dimensional array (5 x 5).

Assembly, Programming

  • Category:- Assembly
  • Reference No.:- M9243

Have any Question? 


Related Questions in Assembly

1write build and run an assembly language program that

1. Write, build, and run an assembly language program that displays 0 through 9 on the screen. You can only use the following data segment: message BYTE "0",13,10,0 2. Write an Assembly Language program that will write o ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate