Formatted numeric output: Difference between revisions

Content added Content deleted
Line 21: Line 21:
=={{header|8086 Assembly}}==
=={{header|8086 Assembly}}==
The <code>PrintString</code> and <code>PrintChar</code> routines was omitted to keep this short. They handle the printing of null-terminated strings.
The <code>PrintString</code> and <code>PrintChar</code> routines was omitted to keep this short. They handle the printing of null-terminated strings.

As an added bonus, this program supports trailing zeroes, but since the example didn't have any it won't get run.
<lang asm> .model small
<lang asm> .model small
.stack 1024
.stack 1024