程序运行到某处,需要根据变量I(integer)型,让cpu指针跳转i个单位(因该理解成跳过i条指令?)继续执行。可能不可能的?给我源代码吧,我不会汇编。
解决方案 »
- function CountSubstrEx(text,sub:string):Integer; 这个函数中的text是什么类型呀,但可以运行呢? functi
- [delphi]判断应用程序是否成功升级的问题
- 请问formclose,formclosequery有何区别吗?
- 关于fastreport的简单问题
- 我要毕业了,应该找一个什么样的工作(迷茫)
- 如何用adocommand建立数据库,存储过程等
- 系统消息的修改
- 能不能跟我详细解释filter属性的用法
- 发出的贴子没人应答,怎么把分收回来?
- 请教!!!求教一个有点难得问题!
- 二维可变数组不能做函数的参数?!
- 我用adoquery 组件,怎样实现 参数化 查询?? 查了半天资料不知所云!
mov eax, n
add eax, 8
cmp eax, 000000ffh //比较
jnz @@exit //不相等则跳转
mov eax, 0a0b0c0dh
@@exit:
call xxxxx
end;
var
I,L:Integer;
Label l1,L2,L3,L4;
begin
I:=Random(3);
case I of
0:goto L1;
1:goto L2;
2:Goto L3;
3:goto L4;
end;
L1:
begin
ShowMessage('0');
Exit;
end;
L2:
begin
ShowMessage('1');
Exit;
end;
L3:
begin
ShowMessage('2');
Exit;
end;
L4:
begin
ShowMessage('3');
Exit;
end;
end;
当前IP+N,这个N很难。不知道N条指令是几个字节。