English
Language : 

GMS30004 Datasheet, PDF (42/158 Pages) Hynix Semiconductor – 4-BIT SINGLE CHIP MICROCOMPUTERS
Chapter 3. Instruction
(29) ALEM
Naming :
Status :
Format :
Function :
<Comment>
Accumulator Less Equal Memory
éCarry to status
A õ M(X,Y)
ST à 1 (when A õ M(X,Y))
ST à 0 (when A > M(X,Y))
Data of the accumulator is, through a complemental addition,
subtracted from data in the memory location addressed by the
X and Y-register. Carry data obtained is transferred to the
status. When the status is Ì1Ì, it indicates that the data of
the accumulator is less than or equal to the data of the
memory word. Neither of those data is not changed.
(30) ALEI
Naming :
Accumulator Less Equal Immediate
Status :
Format :
ëCarry to status
Function :
A õi
ST à 1 (when A õ i)
ST à 0 (when A > i)
<Purpose>
Data of the accumulator and the constant are arithmetically
compared.
<Comment> Data of the accumulator is, through a complemental addition,
subtracted from the constant that exists in 4bit operand. Carry
data obtained is transferred to the status. The status is set
when the accumulator value is less than or equal to the
constant. Data of the accumulator is left unchanged.
(31) MNEZ
Naming :
Status :
Format :
Function :
<Purpose>
<Comment>
Memory Not Equal Zero
éComparison results to status
M(X,Y) ó 0
ST à 1(when M(X,Y) ó 0)
ST à 0 (when M(X,Y) = 0)
A memory word is compared with zero.
Data in the memory addressed by the X and Y-register is
logically compared with zero. Comparison data is thransferred
to the status. Unless it is zero, the status is set.
3 - 15