Program 8: ITOA

Program 8: ITOA

EQU directive #

While you don’t have variables in the standard sense, there is one naming thing you can do. You can use the EQU directive to define a read only number.

.equ    var1, 128 

mov     r0, #var1 

Program 8: ITOA Video

Description of Program
If you are going to print numbers to stdout, you need to come up with a way to convert those numbers into an ASCII representation. For now, just worry about unsigned numbers. Write a program that loads the number 209867295 and writes it to stdout.
Template/Input
Completed Code
Expected Output
209867295