user manual

8XC251SA, SB, SP, SQ USER’S MANUAL
A-100
MOVX @Ri,A
Binary Mode Source Mode
Bytes: 11
States: 44
Hex Code in: Binary Mode = [Encoding]
Source Mode = [A5][Encoding]
Operation: MOVX
((Ri)) (A)
MOVZ WRj,Rm
Function: Move 8-bit register to 16-bit register with zero extension
Description: Moves the contents of an 8-bit register to the low byte of a 16-bit register. The upper byte of
the 16-bit register is filled with zeros.
Flags:
Example: Eight-bit register Rm contains 055H (01010101B) and 16-bit register WRj contains 0FFFFH
(11111111 11111111B). The instruction
MOVZ WRj,Rm
moves the contents of register Rm (01010101B) to register WRj. At the end of the operation,
WRj contains 00000000 01010101B.
Variations
MOVZ WRj,Rm
Binary Mode Source Mode
Bytes: 32
States: 21
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: MOVZ
(WRj)7–0 (Rm)7–0
(WRj)15–8 0
[Encoding] 1 1 1 1 0 0 1 i
CY AC OV N Z
—————
[Encoding] 0 0 0 0 1 0 1 0 t t t t s s s s