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 the character string dst. // C code void strcpy(char dst[], char src[]) \{ int i=0; do \{ 3 \} while (src[i++]); 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 = 0xBEFFF000 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
Get step-by-step solutions from verified subject matter experts
