STRLEN PROC FAR
; IN:
; DS:DX=STRING
; OUT:
; CF=0 AX=STRING LENGTH
; CF=1 ERROR
; __________________________________
REPLACE PROC FAR
; IN:
; DS:DX=STRING
; AL=OLD CHAR
; BL=NEW CHAR
; OUT:
; CF=1 error
; CF=0 ok
; __________________________________
SEARCHB PROC FAR
; IN:
; DS:DX=STRING
; AL=CHAR
; OUT:
; CF=0 ZF=1 DS:DX=STRING END(NULL)
; CF=0 ZF=0 DS:DX=CHAR POSITION
; CF=1 ERROR
; __________________________________
SEARCHW PROC FAR
; IN:
; DS:DX=STRING
; AX=CHAR WORD
; OUT:
; CF=0 ZF=1 DS:DX=STRING END (NULL)
; CF=0 ZF=0 DS:DX=CHAR POSITION
; CF=1 ERROR
; __________________________________
GETSTR PROC FAR
; IN:
; DS:DX=BUFFER [DX]=MAX LENGTH
; OUT:
; DS:DX=BUFFER WITH STRING (NULL END) [DX+1]=REALITY LENGTH
; __________________________________
OUTSTR PROC FAR
; IN:
; DS:DX=BUFFER WITH STRING (NULL END)
; BL=COLOR
; BH=0 OUT AT CURRENT POSITION
; 1 CH=X_CORD CL=Y_CORD
;______________________________
COPYSTR PROC FAR
; IN:
; DS:SI = SOURCE STRING(NULL END)
; ES:DI = DEST STRING
;______________________________
SRCHSTR PROC FAR
; IN:
; DS:SI = SUB_STRING
; ES:DI = MAIN_STRING
; OUT:
; ZF=0 FOUND, ES:BX = FOUND POSITION
; ZF=1 NOT FOUND
|