home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
MAGAZINE
/
MISC
/
PJ_9_6.ZIP
/
ALIB.ZIP
/
SKIP_NL.ASM
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1991-08-22
|
347 b
|
25 lines
include asm.inc
public strskp_line
.code
;; strskp line
;
; entry DS:SI string pointer
; exit SI updated to next line but not past \0
; AL delimiting char (either 0 or 0Ah)
;
strskp_line proc
lodsb
cmp al,NL_CHAR
ja strskp_line
je skl1
cmp al,NULL_CHAR
jne strskp_line
dec si
skl1: ret
strskp_line endp
end