home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol12n18.zip
/
ECHO.ZIP
/
ECH.SCR
< prev
next >
Wrap
Text File
|
1992-11-22
|
545b
|
19 lines
N ECH.COM
A 100
MOV SI,0082 ; SI points to command tail
SUB CH,CH ; zero out CH
MOV CL,[SI-02] ; character count in CL
JCXZ 0113 ; no command tail? skip it!
DEC CX ; deduct one for the skipped space
LODSB ; get a char into AX
XCHG DX,AX ; get the char in DL
MOV AH,02 ; select write character function
INT 21 ; call INT 21h
LOOP 010B ; go back for the next character
INT 20 ; call INT 20h (terminate process)
RCX
15
W
Q