Question: (1) The high-level function strcpy copies the character string src to the character string dst. // C code void strcpy(char dst[], char src[]) { int

 (1) The high-level function strcpy copies the character string src to

(1) The high-level function strcpy copies the character string src to the character string dst. // C code void strcpy(char dst[], char src[]) \{ int i=0; do \{ dst[i]=src[i]; \} while (src[i++]); 3 a) Implement the strcpy function in ARM or MIPS assembly code. Use R4 or S4 for i (4 marks). b) Draw a picture of the stack before, during, and after the strcpy function call. Assume SP= OxBEFFF000 just before strcpy is called (4 marks). (2) What is an interrupt (4 marks)? what are multiple classes of interrupts ( 4 marks)? (3) What is the kernel of an OS ( 3 marks)? What is multiprogramming ( 3 marks)? What is a process

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!