标题:[讨论]Delphi中内嵌ASM
取消只看楼主
zshoucheng
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2007-3-11
 问题点数:0 回复次数:1 
[讨论]Delphi中内嵌ASM

Delphi中内嵌ASM:
procedure sh(ss:string);
begin
showmessage(ss);
end;

procedure TForm1.Button1Click(Sender: TObject);
var
s:string;
begin
s := 'hello!';
asm
lea edx,s
call sh
end;
end;

上面有什么问题>?

搜索更多相关主题的帖子: ASM Delphi中 procedure string scall 
2007-04-29 21:47
zshoucheng
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2007-3-11
得分:0 

我要的就是寄存器的方式
调用API才用stdcall

2007-05-01 10:35



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-136077-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016410 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved