Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

registers, and parameters always in the stack, even if less or equal than than 4)?

parameters registers stack
0
Posted

registers, and parameters always in the stack, even if less or equal than than 4)?

0

In sprintf, and only in that function. If you need to use another function that requires a variable number of arguments, or more than 4 arguments (I can’t fathom why you would need such thing, but you never know), use the proper MIPS conventions (parameters in $ax registers have preference over parameters in stack, and parameters only in stack if 5 or more).

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.