3
3-28
M32R-FPU Software Manual (Rev.1.01)
BTST
BTST
INSTRUCTIONS
3.2 Instruction description
bit operation Instructions
Bit test
[M32R-FPU Extended Instruction]
[Mnemonic]
BTST #bitpos,Rsrc
[Function]
Remove the bit specified by the register.
C = Rsrc >> ( 7-bitpos ) ) &1;
[Description]
Take out the bit specified as bitpos within the Rsrc lower eight bits and sets it in the condition
bit (C). bitpos becomes 0 to 7, MSB becomes 0 and LSB becomes 7.
[EIT occurrence]
None
[Encoding]
bitpos
0000
BTST #bitpos,Rsrc
src
1111
0
Содержание M32R-FPU
Страница 8: ...M32R FPU Software Manual Rev 1 01 This page left blank intentionally...
Страница 25: ...CHAPTER 2 INSTRUCTION SET 2 1 Instruction set overview 2 2 Instruction format...
Страница 39: ...CHAPTER 3 INSTRUCTIONS 3 1 Conventions for instruction description 3 2 Instruction description...
Страница 189: ...INDEX...
Страница 194: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M32R FPU REJ09B0112 0101Z Software Manual...