home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
batch
/
library
/
batutl2
/
cr.asm
< prev
next >
Wrap
Assembly Source File
|
1988-04-16
|
466b
|
23 lines
TITLE CR 2-24-85 [4-16-88]
;INITIAL VALUES : CS:IP 0000:0100
; SS:SP 0000:FFFF
CodeSeg SEGMENT
ASSUME DS:CodeSeg, SS:CodeSeg ,CS:CodeSeg ,ES:CodeSeg
ORG 100H
Cr proc
MOV AX,40H
MOV DS,AX ;point DS to page 0
Assume DS:Nothing
MOV WORD PTR DS:1AH,1EH ;point to kbd buffer beginning
MOV WORD PTR DS:1CH,20H
MOV WORD PTR DS:1EH,0DH ;stuff a CR in the buffer
INT 20H ;return to DOS/program/whatever
Cr endp
CodeSeg ENDS
;
END Cr