home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / nor_asm / cursor14.asm < prev    next >
Assembly Source File  |  1989-05-05  |  553b  |  28 lines

  1. CR    EQU    13            ;Carriage return
  2. LF    EQU    10            ;Line feed
  3.  
  4. .MODEL    SMALL
  5. .CODE
  6.  
  7.     PUBLIC    SEND_CRLF
  8. ;-----------------------------------------------------------------------;
  9. ; This routine just sends a carriage return-line feed pair to the    ;
  10. ; display, using the DOS routines so that scrolling will be handled    ;
  11. ; correctly.                                ;
  12. ;-----------------------------------------------------------------------;
  13. SEND_CRLF    PROC
  14.     PUSH    AX
  15.     PUSH    DX
  16.     MOV    AH,2
  17.     MOV    DL,CR
  18.     INT    21h
  19.     MOV    DL,LF
  20.     INT    21h
  21.     POP    DX
  22.     POP    AX
  23.     RET
  24. SEND_CRLF    ENDP
  25.  
  26.  
  27.     END
  28.