Question: To get started you may divide the work in a number of steps. Note that these are just hints, you do not have to follow
1. Write a subroutine that prints a string character by character, for example by using putchar.
2. Modify the subroutine to recognize format speciers in the format string. Initially, you can discard the format speciers rather than process them. Characters that are not part of a format specier can be printed as before.
3. Implement the various format speciers. It may help to implement %u before %d.
4. It may help to store all input argument registers on the stack at the start of your function, even if you dont end up using them.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
