home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / tasm / chapxmpl.arc / STRINGS.ASM < prev    next >
Encoding:
Assembly Source File  |  1988-10-09  |  759 b   |  24 lines

  1.         DOSSEG
  2.         .MODEL    SMALL
  3.         .STACK    200h
  4.         .DATA
  5. Str1        DB    'Zeile1','$'
  6. Str2        DB    'Zeile2','$'
  7. Str3        DB    'Zeile3','$'
  8.         .CODE
  9. ProgrammAnfang:
  10.         mov    ax,@Data
  11.         mov    ds,ax
  12.         mov    ah,9              ; MS-DOS-Funktion: Stringausgabe
  13.         mov    dx,OFFSET Str1    ; Erster String, der ausgegeben wird
  14.         int    21h               ; String ausgeben
  15.         mov    ah,9              ; MS-DOS-Funktion: Stringausgabe
  16.         mov    dx,OFFSET Str2    ; Zweiter String, der ausgegeben wird
  17.         int    21h               ; String ausgeben
  18.         mov    ah,9              ; MS-DOS-Funktion: Stringausgabe
  19.         mov    dx,OFFSET Str3    ; Dritter String, der ausgegeben wird
  20.         int    21h               ; String ausgeben
  21.         mov    ah,4Ch            ; MS-DOS-Funktion: Programm beenden
  22.         int    21h
  23.         END    ProgrammAnfang
  24.