subject

A. main: create three arrays, each of signed double-words. the first two will hold integer values that will be sent to the gcd function. each element xi in the first array corresponds with each yi in the second array to form a pair. find the gcd, from the procedure, and store the resulting element zi in the third array. use the pairs (20, 5), (9,7), (432, 226), (24, 18), (49, 7), (339, 9), (63, 9). display each pair and the resulting gcd on the screen each time. b. procedure 1: use recursion to implement euclid's algorithm for finding the gcd (greatest common denominator). the function should accept two integers and return an integer. c. procedure 2: accept two arrays of signed double-words and a third parameter that indicates the length of the two arrays. send it the y array (second parameter) and the z array (gcd result) from the main. for each element yi in the first array, if the corresponding zi in the second array is equal, increment a count. return a count of the number of matching array elements in eax. use the invoke statement to call your procedure and pass stack parameters. create a proto declaration for the procedure. save and restore any registers (other than eax) changed by your procedure. the language used: masm (assembly language for x86 processors)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:40
Develop a function to create a document in the mongodb database “city” in the collection “inspections.” be sure it can handle error conditions gracefully. a. input -> argument to function will be set of key/value pairs in the data type acceptable to the mongodb driver insert api call b. return -> true if successful insert else false (require a screenshot)
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
Answers: 1
You know the right answer?
A. main: create three arrays, each of signed double-words. the first two will hold integer values t...
Questions
question
Mathematics, 01.03.2020 01:23
question
Mathematics, 01.03.2020 01:24
question
Mathematics, 01.03.2020 01:24
question
Mathematics, 01.03.2020 01:24
question
English, 01.03.2020 01:25
question
Physics, 01.03.2020 01:25
Questions on the website: 13722367