![](http://datasheet.mmic.net.cn/110000/M34554EDFP_datasheet_3496185/M34554EDFP_113.png)
Skip condition
Number of
cycles
Number of
words
Instruction
code
Flag CY
2
16
Skip condition
Number of
cycles
Number of
words
Instruction
code
Flag CY
2
16
Skip condition
Number of
cycles
Number of
words
Instruction
code
Flag CY
2
16
Skip condition
Number of
cycles
Number of
words
Instruction
code
Flag CY
2
16
D9
D0
D9
D0
D9
D0
D9
D0
Rev.3.00
Aug 06, 2004
page 111 of 136
REJ03B0043-0300Z
4554 Group
XAMI j (eXchange Accumulator and Memory data and Increment register Y and skip)
101110
jjjj
2
E
j
11
–
(Y) = 0
Grouping:
RAM to register transfer
Description: After exchanging the contents of M(DP)
with the contents of register A, an exclusive
OR operation is performed between regis-
ter X and the value j in the immediate field,
and stores the result in register X.
Adds 1 to the contents of register Y. As a re-
sult of addition, when the contents of
register Y is 0, the next instruction is
skipped. when the contents of register Y is
not 0, the next instruction is executed.
Operation:
(A)
←→ (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) + 1
2
16
XAM j (eXchange Accumulator and Memory data)
101101
jjjj
2
D
j
11
–
Grouping:
RAM to register transfer
Description: After exchanging the contents of M(DP)
with the contents of register A, an exclusive
OR operation is performed between regis-
ter X and the value j in the immediate field,
and stores the result in register X.
Operation:
(A)
←→ (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
XAMD j (eXchange Accumulator and Memory data and Decrement register Y and skip)
101111
jjjj
2
F
j
11
–
(Y) = 15
Grouping:
RAM to register transfer
Description: After exchanging the contents of M(DP)
with the contents of register A, an exclusive
OR operation is performed between regis-
ter X and the value j in the immediate field,
and stores the result in register X.
Subtracts 1 from the contents of register Y.
As a result of subtraction, when the con-
tents of register Y is 15, the next instruction
is skipped. When the contents of register Y
is not 15, the next instruction is executed.
Operation:
(A)
←→ (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) – 1
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
WRST (Watchdog timer ReSeT)
1010100000
2A
0
11
–
(WDF1) = 1
Grouping:
Other operation
Description: Skips the next instruction when watchdog
timer flag WDF1 is “1.” After skipping, clears
(0) to the WDF1 flag. When the WDF1 flag
is “0,” executes the next instruction. Also,
stops the watchdog timer function when ex-
ecuting the WRST instruction immediately
after the DWDT instruction.
Operation:
(WDF1) = 1 ?
After skipping, (WDF1)
← 0