
CM71-00105-1E FUJITSU MICROELECTRONICS LIMITED 153
FR81 Family CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.25
7.25 BTSTH (Test Higher 4bit of Byte Data in Memory)Takes the logical AND of the 4-bit immediate data and the higher 4 bits of byte data at
memory address Ri places the results in the condition code register (CCR).
●Assembler Format
BTSTH #u4,@Ri
●Operation
(Ri) & {u4 << 4} [Test uses higher 4 bits only]
●Flag Change
N: Set when the MSB of the operation result is "1", cleared when the MSB(bit7) is "0".
Z: Set when the operation result is zero, cleared otherwise.
V, C: Unchanged.
●Classification
Bit Operation instruction
●Execution Cycles
2+a cycles
●Instruction Format
NZV C
CC - -
MSB LSB
10001001 u4 Ri