Chapter 3. Instruction
(26) DY
Naming :
Status :
Decrement Y-Register and Status 1 on Not Borrow
Carry to status
¥°
Y
Format :
Function :
¡ ç
¡ ç
¡ ç
¡ Ã
1 (when Y 1)
0 (when Y = 0)
Y -1
ST
ST
<Purpose>
<Comment>
Data of the Y-register is decremented by one.
Data of the Y-register is decremented by one by addition of
minus 1 (Fh).
Carry data as results is transferred to the status. When the
results is equal to 15, the status is set to indicate that no
borrow has not occurred.
(27) EORM
Naming :
Status :
Exclusive or Memory and Accumulator
Set
¥°
Format :
¡ ç
M(X,Y) + A
Function :
<Comment>
A
Data of the accumulator is, through a Exclusive OR,
subtracted from the memory word addressed by X and Y-
register. Results are stored into the accumulator.
(28) NEGA
Naming :
Status :
Negate Accumulator and Status 1 on Zero
Carry to status
¥°
A
Format :
Function :
¡ ç
¡ ç
¡ ç
A + 1
ST
ST
1(when A = 0)
0 (when A != 0)
<Purpose>
<Comment>
The 2`s complement of a word in the accumulator is obtained.
The 2`s complement in the accumulator is calculated by adding
one to the 1`s complement in the accumulator. Results are
stored into the accumulator. Carry data is transferred to the
status. When data of the accumulator is zero, a carry is
¡ È ¡ È
1 .
caused to set the status to
3 - 14