Consider the textbook’s implementation of the standard C library function strcpy in assembly language. Implement memset, strlen, strchr, strcat, and strcmp.
- Use $a0 through $a3 as necessary for the standard C library’s arguments to each function.
- Return in $v0.
- Do *not* write a main program. You will be given a testing program soon.
- It is fine if a lot of your functions look a lot like each other. In fact, that’s a good sign.
- Don’t worry about overruns or exception cases.
EXTRA CREDIT (10 points): Implement strstr. Don’t try this until you’ve finished the others – strstr is a lot more annoying to implement.
please make sure you make the extra credit
Is this the question you were looking for? Place your Order Here