home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
SOFTWARE
/
LIBS
/
PMC101.ZIP
/
LIBSRC.ZIP
/
STRPBRK.ASM
(
.txt
)
< prev
next >
Wrap
Assembly Source File
|
1994-06-14
|
572b
|
45 lines
.386p
locals
public STRPBRK
_TEXT segment byte public use32 'CODE'
assume cs:_TEXT
STRPBRK:
cld
mov eax,[esp+4+0+04h]
jmp short @@00lc
@@00l:
mov ecx,[esp+4+0+00h]
@@00l00l:
mov dh,[ecx]
or dh,dh
jz short @@00l00
cmp dl,dh
je short @@00
inc ecx
jmp @@00l00l
@@00l00:
inc eax
@@00lc:
mov dl,[eax]
or dl,dl
jnz @@00l
xor eax,eax
@@00:
ret 08h
_TEXT ends
end