subject

Add a new assembly file to your Lab03 project called lab03b. S (use the procedure you used in Lab02 to add this file and make sure it gets called from main. c).

In this file, write an ARMv8 program with the following specifications:

Reserve space in memory for a variable called UIN of size word. The initial value of UIN will be the sum of the digits in your UIN.
The program should implement the following piece of C-code:
for( i =0; i <10; i ++) {

UIN = UIN−1;

}

UIN will be a 9 digit number passed in from a function call in the main function which looks like this:

#include

extern long long int test(long long int a, long long int b);
extern long long int lab03b(long long int uin);

int main(void)
{
lab03b(6+2+6+1+9+2+3);
return 0;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Given the following code: if (n == 2) { k -= 2; } else if (n == 3) { k -= 3; } can be rewritten as: if (< condition > ) { < assignment statement > ; } assume that evaluating < condition > does not change the values stored in n and k. which of the following could be used as < assignment statement > ? k -= n; k -= 1; k -= 2; k += n; k = n - k;
Answers: 2
question
Computers and Technology, 22.06.2019 19:50
Write a car class having two private member variables called tank and speed. write public methods called pumpgas and gofast. the method pumpgas gets an integer for gas that must be pumped. that value needs to be added to tank (no more than 20 gallons). it must return the amount of gas that is purchased ($4 per gallon). the method gofast should increase the speed by 5 each time it is called.write a constructor for the above class that initialized both variables to zero.write a tostring to display both the tank and speed when the car is printed.modify the car class to implement the interface comparable and an interface called carinter having the public methods in carinter.write the main program to create an array of size 5 of type car. create 5 car objects having each location of the array to refer to one of the cars. test the pumpgas, gofast, equals method on the array items. write an enhanced loop to print all the car values (using a tostring written last time).write a generic method to find the minimum of four items. pass int, double, char, string and car objects to test this method.
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i.e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
Me if you do then you get 10 points and brainliest
Answers: 1
You know the right answer?
Add a new assembly file to your Lab03 project called lab03b. S (use the procedure you used in Lab02...
Questions
question
Mathematics, 05.10.2019 09:10
question
History, 05.10.2019 09:10
question
Biology, 05.10.2019 09:10
question
Mathematics, 05.10.2019 09:10
Questions on the website: 13722361