-
Category : assembly language
Tags :
- Update : 2012-11-26
- Size : 1kb
- Downloaded :0次
- Author :
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
data segment
word1 db macth! ,0ah,0dh, $
word2 db no match! ,0ah,0dh, $
buffer1 db ? 存入关键字
buffer2 db 20h dup(?)
db 0
db 20h duo(?) 存输入字符,大小可改
data ends
stack1 segment stack
db 200h dup(?)
stack1 ends
code segment
assume cs:code,ss:stack,ds:data
start: mov ax,data
mov ds,ax
mov ah,01h
int 21h
mov buffer1,al 送关键字
mov ah,0ah
int 21h
mov si,02h
mov cl,buffer2+1 置循环值
lp1: mov dl,buffer1
cmp dl,al 比较
icn si
jz disp1 匹配显示match
loop lp1 不匹配继续循环查找
mov dx,offset word2 显示no match
mov ah,09h
int 21h
disp1: mov dx,offset word1
mov ah ,09h
int 21h
mov ah,4ch
int 21h
code ends
end start
Packet file list
(Preview for download)
汇编实现字符查找功能.txt
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information