CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 1100
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 1100 - List
[
Search Engine
]
search_for_substring
DL : 0
此程序用于搜索从ES:1000开始的长度为100H的区域,是否存在给定的子字符串,其中,子字符串存放在以DS:1100开始的区域中,分别用DI,SI,指向它们。如果搜索到,在DS:1111处填写44(“是”的谐音),找不到,则填写55(“无”的谐音)。在本程序中,DS与ES相同。在本程序中,我们假设要搜索的子字符串的长度为3,字符可以自行设定。当然,可以改变BX来改变搜索的子字符串的长度-This program used to search from ES: 1000 100H length starting area, the existence of a given sub-string, in which sub-string stored in the order DS: 1100 Start of area, respectively DI, SI, point to them . If the search in the DS: 1111 Office Use 44 (" yes" homonym), can not find, then complete 55 (" no" homophonic). In this process, DS and ES the same. In this procedure, we assume that the sub-string to search for a length of 3 characters can set. Of course, you can change the BX to change the length of the substring search
Date
: 2025-12-19
Size
: 58kb
User
:
yangxiao
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.