佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 995|回复: 4

关于assembly language...

[复制链接]
发表于 6-4-2009 08:59 PM | 显示全部楼层 |阅读模式
Content Filtering Software.
Write an application that will check if a searched word is inappropriate for children.
EG:if a boy types a word "sexy",the system will close the windows and exit.
我写了一点。。。毫无头绪。。。如何compare two string?
c++就容易多了。。。haiz...
TITLE Content filtering Program    (content.asm)

INCLUDE Irvine32.inc
.data
str1 byte "Input a word: ",0
.code
main PROC
mov edx,offset str1
call writestring
call readstring
call dumpmem
        exit
main ENDP
END main
回复

使用道具 举报


ADVERTISEMENT

发表于 20-4-2009 11:25 AM | 显示全部楼层
你这个好多了,以前我们是用纯Processor的Command的,一边写一边查那个Processor的Command...
回复

使用道具 举报

发表于 20-4-2009 04:11 PM | 显示全部楼层
如果认为用C++容易,就用C++写一个,compile成exe,
然后用disassemble, debugger,比如olly debugger打开它。
回复

使用道具 举报

发表于 20-4-2009 05:33 PM | 显示全部楼层
上次我还要让Processor唱歌,还要是有MTV那种
不过想起来还蛮好玩的
回复

使用道具 举报

发表于 1-5-2009 09:07 PM | 显示全部楼层
原帖由 小杨过 于 6-4-2009 08:59 PM 发表
Content Filtering Software.
Write an application that will check if a searched word is inappropriate for children.
EG:if a boy types a word "sexy",the system will close the windows and exit.
我写了 ...



這麼簡單的東西還要 Irvine32.inc (這是UTM的嗎?)

不必MASM,我直接用Debug都可以做了。

但如果要 Close Windows 的話,那你就要call WINAPI。這個還是用C++參 Assembly 比較容易。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 16-5-2024 03:55 AM , Processed in 0.066319 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表