AMD Confidential
User Manual November 21st, 2008
Appendix A 191
Instruction
Supported
Mnemonic
Opcode
Description
BSF reg64,reg/mmem64
0F BC /r
Bit scan forward on the contents of
reg/mem64.
BSR reg16,reg/mmem8
0F BD /r
Bit scan reverse on the contents of
reg/mem16.
BSR reg32,reg/mmem32
0F BD /r
Bit scan reverse on the contents of
reg/mem32.
BSR reg64,reg/mmem64
0F BD /r
Bit scan reverse on the contents of
reg/mem64.
BSWAP reg32
0F C8 +rd
Reverse the byte order of reg32.
BSWAP reg64
0F C8 +rd
Reverse the byte order of reg64.
BT reg/mem16,reg16
0F A3 /r
Copy the value of the selected bit to
the carry flag.
BT reg/mem32,reg32
0F A3 /r
Copy the value of the selected bit to
the carry flag.
BT reg/mem64,reg64
0F A3 /r
Copy the value of the selected bit to
the carry flag.
BT reg/mem16,imm8
0F BA /4 ib
Copy the value of the selected bit to
the carry flag.
BT reg/mem32,imm8
0F BA /4 ib
Copy the value of the selected bit to
the carry flag.
BT reg/mem64,imm8
0F BA /4 ib
Copy the value of the selected bit to
the carry flag.
BTC mem/mem16,reg16
0F BB /r
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTC mem/mem32,reg32
0F BB /r
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTC mem/mem64,reg64
0F BB /r
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTC reg/mem16,imm8
0F BA /7 ib
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTC reg/mem32,imm8
0F BA /7 ib
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTC reg/mem64,imm8
0F BA /7 ib
Copy the value of the selected bit to
the carry flag, and then complement
the selected bit.
BTR reg/mem16,reg16
0F B3 /r
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTR reg/mem32,reg32
0F B3 /r
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTR reg/mem64,reg64
0F B3 /r
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTR reg/mem16,imm8
0F BA /6 ib
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTR reg/mem32,imm8
0F BA /6 ib
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTR reg/mem64,imm64
0F BA /6 ib
Copy the value of the selected bit to
the carry flag, and then clear the
selected bit.
BTS reg/mem16,reg16
0F AB /r
Copy the value of the selected bit to
the carry flag, and then set the
selected bit.
BTS reg/mem32,reg32
0F AB /r
Copy the value of the selected bit to
the carry flag, and then set the
selected bit.
BTS reg/mem64,reg64
0F AB /r
Copy the value of the selected bit to
the carry flag, and then set the
selected bit.