Logo 
Search:

Assembly Language Article

Submit Article
Comments on Program to print the digits 0, 1… 9

Write a program to print the digits 0, 1… 9.


Canezgi Aydemir
Canezgi Aydemir from TurkeyDec 18
its complicate. That's new version under the text.


org 100h

mov cx, 10
mov dl, '0' ;move 'dl' is zero
start:
mov ah, 02H
int 21H ;print dl in dos screen
inc dl ;next number
loop start ;go to start

ret ;finish






Please enter your Comment
  • Comment should be atleast 15 Characters.
  • Please put code inside [Code] your code [/Code].