首页
社区
课程
招聘
求助,MASM 编译问题
发表于: 2009-11-21 21:38 4542

求助,MASM 编译问题

2009-11-21 21:38
4542
.386
.model flat,stdcall
option casemap:none

现在有个函数

MyFun proc  

如何让编译器按我自己写的编译MyFun 就像C的naked 一样

其他函数让编译器自行优化编译,,仍为STDCALL调用方式

[课程]Linux pwn 探索篇!

收藏
免费 0
支持
分享
最新回复 (8)
雪    币: 419
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
MyFun:
2009-11-22 11:56
0
雪    币: 215
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
终于有人回复了,,很是感动..不过不知道楼上说的什么意思.
2009-11-22 16:40
0
雪    币: 419
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
MyFun proc

MyFun endp

不要用上面那么著名是个函数

MyFun:

你函数内容

直接用个标签来,这样就不会有那些东西产生了,你的函数内容就写在标签下面

引用函数也还是原来那样  CALL MyFun
2009-11-22 19:21
0
雪    币: 14
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
你最好还是用那程方式吧。不然出了什么不能预料的错误。会让你头痛很久的!!堆栈平横!!
myfun:
你的内容
ret
……
……
call myfun
2009-11-23 12:42
0
雪    币: 419
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
写多了,调试多了,就不会了
2009-11-23 15:37
0
雪    币: 7
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
8
www.jerseysneakers.com wholesale cheap Nike Zoom BB 3 shoes sneakers, cheap Nike Zoom Aspiration Shoes sneakers, cheap Nike Air Foamposite One Shoes sneakers,Nike Zoom Soldier III Shoes,Nike Air Zoom Flight Five B Shoes...We are very professional shoes and jerseys supplier in China, we supply GUCCI,NIKE,Jordan shoes,air max shoes,shox shoes,Football jerseys,Basketball jerseys,Adidas shoes, Puma shoes, shox shoes,TN shoes,dunk,Ed hardy Jeans,gucci lacoste polo shirts. more for your choices. We have all different styles of the shoes in the pictures in stock. They are ready for shipping to you anytime. And the price is reasonable,Welcome to our website: www.jerseysneakers.com.com choose and buy.thank you!
2009-11-24 12:23
0
雪    币: 215
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
谢谢大家的解答,问题已经解决.参照FIXFIX的方法



堆栈平衡自己仔细一点就好了.呵呵
2009-12-3 17:25
0
雪    币: 135
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
10
为什么我的KX涨的这么慢哦
2009-12-4 08:10
0
游客
登录 | 注册 方可回帖
返回
//