Question: In MIPS, how do I print a stack in correct order? Let's say I have a stack of d,0,o,1,g,2,c,3,a,4,t where the numbers are the index
In MIPS, how do I print a stack in correct order? Let's say I have a stack of d,0,o,1,g,2,c,3,a,4,t where the numbers are the index at the $sp is at the '4'. How can I print "dogcat"? without the indexes and in correct order rather than "tacgod"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
