CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.27
BANDH (And 4-bit Immediate Data to Higher 4 Bits of Byte
Data in Memory)
Take the logical AND of the 4-bit immediate data and the higher 4 bits of byte data at
memory "Ri", store the results to memory address corresponding to "Ri".
The CPU will not accept hold requests between the memory read operation and the
memory write operation of this request.
■ BANDH (And 4-bit Immediate Data to Higher 4 Bits of Byte Data in Memory)
Assembler format:
BANDH #u4, @Ri
Operation:
{u4 < < 4 + F
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 + 2a cycles
Instruction format:
108
} and (Ri) → (Ri) [Operation uses higher 4 bits only]
H
N
Z
V
C
–
–
–
–
MSB
1
0
0
0
0
0
0
1
u4
LSB
Ri