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, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 25.06.2019 00:40
Roger ginde is developing a program in supply chain management certification for managers. ginde has listed a number of activities that must be completed before a training program of this nature could be conducted. the activities, immediate predecessors, and times appear in the accompanying table: activity immediate predecessor(s) time (days) a -− 44b -− 55 c -− 11 d b 1010 e a, d 55 f c 55 g e, f 1010 calculate the slack time. show the details.
Answers: 2
question
Computers and Technology, 25.06.2019 01:30
What was the advantage of using transistors instead of vacuum tubes in the second-generation computers? a. computers were drastically reduced in size. b. computers no longer produced errors. c. computers became affordable. d. computers could run on electricity.
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
Social Studies, 29.01.2020 20:52
Questions on the website: 13722362