home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
lan
/
basnet
/
junk.asm
< prev
next >
Wrap
Assembly Source File
|
1987-05-18
|
535b
|
24 lines
req_rep proc near
push bp
mov bp,sp
push es
push ds
pop es
mov si,[bp+10] ;ptr to var desc block for req. string
mov cx,[si+1] ;add 1 to get the address of the string
mov si,cx ;put it in si
mov di,[bp+8] ;ptr to var desc block for reply buf
mov cx,[di+1] ;add 1 to get the address of the string
mov di,cx ;put it in di
pushf ;save the direction flag
int 21h
popf
pop es
mov si,[bp+12] ;address for error
mov ah,0
mov [si],ax ;save error code
pop bp
ret
req_rep endp