首页
社区
课程
招聘
[求助]bt dword ptr [ebp-31], eax
2006-8-22 20:21 4391

[求助]bt dword ptr [ebp-31], eax

2006-8-22 20:21
4391
收藏
免费 0
打赏
分享
最新回复 (3)
雪    币: 721
活跃值: (350)
能力值: ( LV9,RANK:1250 )
在线值:
发帖
回帖
粉丝
happytown 31 2006-8-22 21:06
2
0
有bt这条指令吗?还是查查intel指令手册。
雪    币: 270
活跃值: (176)
能力值: ( LV12,RANK:370 )
在线值:
发帖
回帖
粉丝
ikki 9 2006-8-23 01:28
3
0
代劳:
Intel Assemble Instruction

BT - Bit Test           (386+)
        Usage:  BT      dest,src
        Modifies flags: CF
        The destination bit indexed by the source value is copied into the
        Carry Flag.
                                 Clocks                 Size
        Operands         808x  286   386   486          Bytes
        reg16,immed8      -     -     3     3            4-8
        mem16,immed8      -     -     6     6            4-8

        reg16,reg16       -     -     3     3            3-7
        mem16,reg16       -     -     12    12           3-7

        0F A3 BT r/m16,r16 Store selected bit in CF flag
        0F A3 BT r/m32,r32 Store selected bit in CF flag
        0F BA /4 ib BT r/m16,imm8 Store selected bit in CF flag

        0F BA /4 ib BT r/m32,imm8 Store selected bit in CF flag

----------
bt dword ptr [ebp-31], eax

把dword ptr [ebp-31]中第eax位的值送入CF
雪    币: 214
活跃值: (10)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
zhangyongf 2 2006-8-23 10:41
4
0
多谢楼上的详解!
游客
登录 | 注册 方可回帖
返回