Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Assembly Program Issue

Mousa55
Super Advisor

Assembly Program Issue

Hi All,

i am tray to find the result of this Issue But all my attempts is failed, I look forward to your responses.

Q) assembly program that defines a 2D array of words and find the following:
- The maximum element in the array.
- The minimum element in the array.
- The average of all elements in the main diagonal.

Notes:
- Your program must work for any square matrix size. 2X2, 3X3, 4X4 …..


thanks and best regards
3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Assembly Program Issue

What architecture are you using, x86?
You could trying writing it in C then look at the machine code.
Mousa55
Super Advisor

Re: Assembly Program Issue

Hi,

yes i am using x86 processor.
Greg Wright
Valued Contributor

Re: Assembly Program Issue

What would your teacher say when he/she found out that your solution came from somebody else ?