home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / asm_programming / ASMFILES.ZIP / SMASCII2.ASM < prev    next >
Assembly Source File  |  1985-06-21  |  640b  |  18 lines

  1. prognam segment                    ;start of segment
  2. ;
  3.         assume cs:prognam          ;assume what`s in CS
  4. ;
  5.         mov cx,100h                ;put count in CX
  6.         mov dl,0                   ;first ASCII character
  7. next:
  8.         mov ah,2                   ;Display Output function
  9.         int 21h                    ;Call DOS to print
  10.         inc dl                     ;next ASCII charter
  11.         loop next                  ;do again, unless done
  12. ;
  13.         int 20h                    ;return to DOS
  14. ;
  15. prognam ends                       ;end of segment
  16. ;
  17.         end                        ;end of assembly
  18.