Question: Make a program containing one function with source in C++ and one function with source code in X86. Make a bash file that does the
Make a program containing one function with source in C++ and one function with source code in X86. Make a bash file that does the usual actions, namely: == translates the X86 file into an object file == translates the C++ file into an object file == links the 2 object files into a single executable == launches that single executable
The Main module is not part of the solution. It outputs various greetings and farewells. The important thing it does is call the Accumulator module written in X86. The accumulator receives a sequence of 64 bit signed integer. Each inputted number is
separated from its predecessor and successor by white space. The last inputted number is
followed by enter and then followed by control+D. The X86 module adds all the inputted numbers and displays the sum of those numbers. The last action of the X86 module is to return the sum to the main function.

Sample session while running this program. Welcome to summing a sequence of integers. This program is brought to you by Michelle Zaragoza. The fast accumulator program written in X86 Intel language has begun. Instructions: Enter a sequence of integers. Include white space between each number. To terminate press 'Enter' followed by Control+D Enter an integer: 7 Enter an integer: -3 Enter an integer: 12 Enter an integer: 1 Enter an integer:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
