|
I'm not sure, I'm new to assembly, just started the class about a month ago. When I define an output of some sort (such as prompt in my code), if I set the prompt into the o0 ("oh zero")register, then call printf, it takes whatever the prompt is in o0 and outputs it. Same with an input, I can set it to the o0 register and depending upon what and how many things I'm reading in, I use the o1-o5 registers. I'm not sure exactly what you're saying, I wish I could understand. I hope this reply clarifys in some way what I'm doing and why I'm doing it.
|