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, 21.06.2019 17:00
In addition to using the icons to adjust page margins, a user can also use
Answers: 1
question
Computers and Technology, 22.06.2019 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
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
Geography, 01.09.2019 14:50
question
History, 01.09.2019 14:50
question
Chemistry, 01.09.2019 14:50
question
Biology, 01.09.2019 14:50
question
Computers and Technology, 01.09.2019 14:50
Questions on the website: 13722360