![](http://datasheet.mmic.net.cn/30000/M3455AG8-XXXFP_datasheet_2359525/M3455AG8-XXXFP_121.png)
Rev.1.02
Nov 26, 2008
REJ03B0224-0102
455A Group
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) (continued)
XAM j
(eXchange Accumulator and Memory data)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
10
11
0
1
j
2
2D
j
16
11
-
Opera-
tion:
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 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 register X and the value j in the immediate field,
and stores the result in register X.
XAMD j
(eXchange Accumulator and Memory data and Decrement register Y and skip)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
10
11
1
j
2
2F
j
16
11
-
(Y) = 15
Opera-
tion:
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) 1
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 register 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 contents of register Y
is 15, the next instruction is skipped. When the contents of
register Y is not 15, the next instruction is executed.
XAMI j
(eXchange Accumulator and Memory data and Increment register Y and skip)
Instruc-
tion
code
D9
D0
Number of
words
Number of
cycles
Flag CY
Skip condition
10
11
1
0
j
2
2E
j
16
11
-
(Y) = 0
Opera-
tion:
(A)
← → (M(DP))
(X)
← (X)EXOR(j)
j = 0 to 15
(Y)
← (Y) + 1
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 register 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 result 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.