> hello
Wrong forum.
> -first when it's in a register
Set up a limit (maybe 999 for start), set up a string buffer, fill it with "000" , start trying to subtract 100's from the register, for every successful subtraction increase the digit in your buffer, when 100's are done, move to 10's, finally just copy the 1's ;-)
> -second when it's in memory (in .bss i suppose)
Load into a register ?