English
Language : 

GMS36 Datasheet, PDF (51/109 Pages) Hynix Semiconductor – 4-BIT SINGLE CHIP MICROCOMPUTERS
Chapter 5. INSTRUCTION
(6) LYM
Naming :
Status :
Format :
Function :
<Comment>
(7) LAM
Naming :
Status :
Format :
Function :
<Comment>
(8) XMA
Naming :
Status :
Format :
Function :
<Comment>
(9) LYI i
Naming :
Status :
Format :
Operand :
Function :
<Purpose>
<Comment>
Load Y-Register form Memory
Set
I
Y à M(X,Y)
Data from the RAM location addressed by the X-register and
Y-register is loaded into the Y-register. Data in the memory is
left unchanged.
Load Accumulator from Memory
Set
I
A à M(X,Y)
Data from the RAM location addressed by the X-register and
Y-register is loaded into the Y-register. Data in the memory is
left unchanged.
Exchanged Memory and Accumulator
Set
I
M(X,Y) ä A
Data from the memory addressed by X-register and Y-register
is exchanged with data from the accumulator. For example,
this instruction is useful to fetch a memory word into the
accumulator for operation and store current data from the
accumulator into the RAM. The accumulator can be restored
by another XMA instruction.
Load Y-Register from Immediate
ëSet
Constant 0 õ i õ 15
Yài
To load a constant in Y-register. It is typically used to specify
Y-register in a particular RAM word address, to specify the
address of a selected output line, to set Y-register for
specifying a carrier signal outputted from OUT port, and to
initialize Y-register for loop control. The accumulator can be
restored by another XMA instruction.
Data of four bits from operand of instruction is transferred to
the Y-register.
5-6