This question already has answers here: Displaying numbers with DOS (1 answer) How do I print an integer in Assembly Level Programming without printf from the c library?