104
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
MOVW SP, src Move Word
MOVW AX, SP Word Data Transfer with Stack Pointer
[Instruction format] MOVW dst, src
[Operation] dst src
[Operand]
Mnemonic Operand(dst,src)
MOVW SP, #word
SP, AX
AX, SP
[Flag]
ZACCY
[Description]
This is an instruction to manipulate the stack pointer contents.
The source operand (src) specified by the 2nd operand is stored in the destination operand (dst) specified
by the 1st operand.
[Description example]
MOVW SP, #FE1FH; FE1FH is stored in the stack pointer.