Didn't know it wasn't already in the thread. Probably too late to bump.
ROM:08131DB0 ADDS R1, R6, R0
ROM:08131DB2 MOVS R0, R4
ROM:08131DB4 MOVS R2, #2
ROM:08131DB6 MOVS R3, #2
ROM:08131DB8 BL int_to_str
r3 = number of decimal places
Change the move instruction to
mov r3, #0x3
If you don't want the zero padding (something like TM087) for TMs below TM100, you can do a comparison to r1, which contains the decimal number of the TM.