You need to write some code that extracts each digit and converts it to a displayable value and adds it to a string or array. It's a long time since I wrote any assembler, but in pseudo-code it would be something like:
String = ""
DO
Digit = number1 % 10 ; % is the "get remainder" operator
Digit = Digit + '0' ; the zero character
String = digit + string ; prepend this digit to the string
number1 = number1 / 10 ;
WHILE number1 != 0