A SERVICE OF

logo

FR81 Family
420 FUJITSU MICROELECTRONICS LIMITED CM71-00105-1E
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.171
7.171 XCHB (Exchange Byte Data)
Exchanges the contents of the byte address indicated by Rj and those indicated by Ri.
The lower 8 bits of data originally at Ri are transferred to the byte address indicated by
Rj and the data originally at Rj is extended with zeros and transferred to Ri.
Assembler Format
XCHB @Rj, Ri
Operation
Ri TEMP
extu((Rj)) Ri
TEMP (Rj)
Flag Change
N, Z, V, C: Unchanged.
Classification
Other instructions, Read/Modify/Write type instruction
Execution Cycles
2a cycles
Instruction Format
NZVC
----
MSB LSB
10001010 Rj Ri