home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / asm_kit / 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.