Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use Assembly x86 language to compute what is inside the rectangle. Goal We want to know how to use use arrays and how to

image text in transcribed

image text in transcribed

Please use Assembly x86 language to compute what is inside the rectangle.

Goal We want to know how to use use arrays and how to implement iteration. Programming requirements Make a hybrid program that produces the following output. Additional details will be given later. Sample run Welcome to Arrays of Integers Bought to you by Jaime Ward This program will reverse your array of integers Enter a sequence of long integers separated by white space. After the last input press enter followed by Control+D: 3 -12 9 21 -4 13 These number were received and placed into the array: 3 -12 9 5 4 13 After the reverse function these are the numbers of the array in the new order: 13 4 5 9 -12 3 The number of numbers entered is 6 and the mean is 3. The mean will now be returned to the main function. Main received this number: 3 Main will return 0 to the operating system. Bye. The section within the rectangle is outputted by the x86 manager function. The first module to execute has source code written in C++. The first to execute program is sometimes called the driver program. The second module is written in X86. This program produces all the output inside the rectangle on the preceding page. Obviously you change the name of the author in the example to be your own name. Make a bash file that compiles and runs everything related to this program. Required Software Architecture Main Manager X86 Display_Array Reverse X86 There are 4 functions in the program. You can see their names in the diagram above. Main calls Manager; Manager calls Display_Array and later calls Reverse. There will be four files - each file contains one source function. The fifth file is the Bash file that will compile the 4 sources (in any order) and then link the 4 object files making one executable file. All the work is performed by Manager except output the array and reverse the array. Goal We want to know how to use use arrays and how to implement iteration. Programming requirements Make a hybrid program that produces the following output. Additional details will be given later. Sample run Welcome to Arrays of Integers Bought to you by Jaime Ward This program will reverse your array of integers Enter a sequence of long integers separated by white space. After the last input press enter followed by Control+D: 3 -12 9 21 -4 13 These number were received and placed into the array: 3 -12 9 5 4 13 After the reverse function these are the numbers of the array in the new order: 13 4 5 9 -12 3 The number of numbers entered is 6 and the mean is 3. The mean will now be returned to the main function. Main received this number: 3 Main will return 0 to the operating system. Bye. The section within the rectangle is outputted by the x86 manager function. The first module to execute has source code written in C++. The first to execute program is sometimes called the driver program. The second module is written in X86. This program produces all the output inside the rectangle on the preceding page. Obviously you change the name of the author in the example to be your own name. Make a bash file that compiles and runs everything related to this program. Required Software Architecture Main Manager X86 Display_Array Reverse X86 There are 4 functions in the program. You can see their names in the diagram above. Main calls Manager; Manager calls Display_Array and later calls Reverse. There will be four files - each file contains one source function. The fifth file is the Bash file that will compile the 4 sources (in any order) and then link the 4 object files making one executable file. All the work is performed by Manager except output the array and reverse the array

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

Step: 3

blur-text-image

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

Semantics Of A Networked World Semantics For Grid Databases First International Ifip Conference Icsnw 2004 Paris France June 2004 Revised Selected Papers Lncs 3226

Authors: Mokrane Bouzeghoub ,Carole Goble ,Vipul Kashyap ,Stefano Spaccapietra

2004 Edition

3540236090, 978-3540236092

More Books

Students also viewed these Databases questions

Question

Describe obsessive-compulsive disorder.

Answered: 1 week ago