Alright, I got this assembler class, and we're doing mips, and such.
Anyway, I got this problem, see.
I have to read in a number in binary (sign magnitude), convert it to decimal, then convert that to a string of ascii characters, and then print them out, with a - sign if necessary.
The only thing I have problems with is printing them out.
Say I've made a character, on the stack.
So it would print 3, then stop (when it hits null)
I have to load an ADDRESS into $a0 to print a string.
How do I load the address of a register??
Say I have my string in $t6. I want to print that string, which is basically one ascii character, from 0-9 (maybe -), then three null characters.
How do I load the ADDRESS and not the VALUE of $t6 into $a0.
(I can't use labels)
I bet it's simple... I hope...