Question: in x86, 64 bit Assembly Language Intel Syntax. Simple application that calculates the hypotenuse of a right triangle given the two sides. Required files are

 in x86, 64 bit Assembly Language Intel Syntax. Simple application thatcalculates the hypotenuse of a right triangle given the two sides. Requiredfiles are a .asm, .cpp and a .sh file. Work done will

in x86, 64 bit Assembly Language Intel Syntax. Simple application that calculates the hypotenuse of a right triangle given the two sides. Required files are a .asm, .cpp and a .sh file. Work done will be appreciated. Please dont use chatgpt to answer does not work

Assignment 1 Hypotenuse Overview Build a program in assembly language that will compute the length of the hypotenuse of a right triangle given the lengths of the two sides. Baseline required program Modular architecture The arrow points to the module being called. A module is a source file. The module may contain many functions. For this class will contain only one function. r.sh is a bash file. The name could be anything. The name could be the single letter ' r ' or it could be a long name "pythagorianassignment1". The extension "sh" is symbolic for "shell". Most programmers include the extension in order to better remember the language of the code inside that file. The set of all three files is called "the program". The correct terminology is that a program is a collection (set) of source files. A program is not a single file except in the trivial case were the set contains a single file. User dialog Welcome to Pythagoras' Math Lab programmed by Adele Reed Please contact me at adelereed@csu.fullerton.edu if you need assistance. Enter the length of the first side of the triangle: 12.75 Enter the length of the second side of the triangle: 8.2 Thank you. You entered two sides: 12.75000000 and 8.20000000 The length of the hypotenuse is 15.63778114 The main file received this number: 15.637781148424, and will keep it for now. We hoped you enjoyed your right angles. Have a good day. A zero will be sent to your operating system. //End of user dialog. Color codes Yellow: Output from module driver Green: Output from module pythagoras Black on white background: Input from keyboard. Standard of precision The pythagoras module outputs 6 decimal digits on the right of the point. The driver module outputs 12 decimal digits on the right of the point. Update programmer's info Replace Adele's name and address with your own name and email address Be aware The value shown above for the hypotenuse is mathematically incorrect. The purpose of that number is to show you the position of the number relative to the other parts of the dialog

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!