Category : Assembly Language Source Code
Archive   : ASM-SUBR.ZIP
Filename : STDOUTDR

 
Output of file : STDOUTDR contained in archive : ASM-SUBR.ZIP
;-------------------------routine begins--------------------------+
; ROUTINE FOR DIRECT CONSOLE OUTPUT
;
; FUNCTION: This routine sends individual out the standard output
; device using direct output.
; INPUT: Upon entry an ASII char is in AL.
; OUTPUT: A single character is output through the direct standard
; output.
; REGISTERS USED: AH is modified. AL is used for input.
; SEGMENTS REFERENCED: None
; ROUTINES CALLED: DOS call number 6 (direct console I/O) is used.
; SPECIAL NOTES: None
;
stdoutdr proc far
push dx ; save registers
;
cmp al,0FFh ; check for the one case of input.
je stdoutdrexit
mov dl,al ; in DL for DOS call
mov ah,6 ; direct console input
int 21h ; DOS call
;
stdoutdrexit:
pop dx ; restore registers
ret ; return
stdoutdr endp
;-------------------------routine ends---------------------------+


  3 Responses to “Category : Assembly Language Source Code
Archive   : ASM-SUBR.ZIP
Filename : STDOUTDR

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/