
47
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
DESCRIPTION EXAMPLE
Mnemonic
Full name
Move
MOV
Byte Data Transfer
Meaning of instruction
[Instruction format]
MOV dst, src:
Indicates the basic description format of the instruction.
[Operation]
dst
←
src:
Indicates instruction operation using symbols.
[Operand]
Indicates operands that can be specified by this instruction. Refer to
4.1 Operation
for
the description of each operand symbol.
Mnemonic
Operand(dst,src)
Mnemonic
Operand(dst,src)
MOV
r, #byte
MOV
A, PSW
A, saddr
[HL], A
saddr, A
A, [HL+byte]
PSW, #byte
[HL+C], A
[Flag]
Indicates the flag operation that changes by instruction execution.
Each flag operation symbol is shown in the conventions.
Z
AC
CY
Conventions
Symbol
Description
Blank
0
1
X
R
Unchanged
Cleared to 0
Set to 1
Set or cleared according to the result
Previously saved value is restored
[Description]:
Describes the instruction operation in detail.
The contents of the source operand (src) specified by the 2nd operand are transferred to the destination
operand (dst) specified by the 1st operand.
[Description example]
MOV A, #4DH;
4DH is transferred to the A register.
~
~
~
~
~
~
~
~