|
E202075_HD404889 Datasheet, PDF (170/202 Pages) Renesas Technology Corp – Low-Voltage AS Microcomputers with On-Chip LCD Circuit | |||
|
◁ |
HD404889/HD404899/HD404878/HD404868 Series
Table 32 Register-Register Instructions
Operation
Mnemonic Operation Code
Function
Words/
Status Cycles
Load A from B
LAB
0 0 0 1 0 01 0 0 0
BâA
1/1
Load B from A
LBA
0 0 1 1 0 01 0 0 0
AâB
1/1
Load A from W
LAW
0 1 0 0 0 00 0 0 0
WâA
2/2*
0 0 0 0 0 00 0 0 0
Load A from Y
LAY
0 0 1 0 1 01 1 1 1
YâA
1/1
Load A from SPX
LASPX
0 0 0 1 1 01 0 0 0
SPX â A
1/1
Load A from SPY
LASPY
0 0 0 1 0 11 0 0 0
SPY â A
1/1
Load A from MR
LAMR m
1 0 0 1 1 1 m3 m2 m1 m0
MR (m) â A
1/1
Exchange MR and A
XMRA m
1 0 1 1 1 1 m3 m2 m1 m0
MR (m) â A
1/1
Note: The assembler automatically provides an operand for the second word of the LAW instruction.
Table 33 RAM Address Instructions
Operation
Mnemonic Operation Code
Function
Words/
Status Cycles
Load W from immediate LWI i
0 0 1 1 1 1 0 0 i1 i0 i â W
1/1
Load X from immediate LXI i
1 0 0 0 1 0 i3 i2 i1 i0
iâX
1/1
Load Y from immediate LYI i
1 0 0 0 0 1 i3 i2 i1 i0
iâY
1/1
Load W from A
LWA
0 1 0 0 0 1 0 0 0 0 AâW
2/2*
0 0 0 0 0 00 0 0 0
Load X from A
LXA
0 0 1 1 1 0 1 0 0 0 AâX
1/1
Load Y from A
LYA
0 0 1 1 0 1 1 0 0 0 AâY
1/1
Increment Y
IY
0 0 0 1 0 1 1 1 0 0 Y+1âY
NZ
1/1
Decrement Y
DY
0 0 1 1 0 1 1 1 1 1 Yâ1âY
NB
1/1
Add A to Y
AYY
0 0 0 1 0 1 0 1 0 0 Y+AâY
OVF 1/1
Subtract A from Y
SYY
0 0 1 1 0 1 0 1 0 0 YâAâY
NB
1/1
Exchange X and SPX XSPX
0 0 0 0 0 0 0 0 0 1 X â SPX
1/1
Exchange Y and SPY XSPY
0 0 0 0 0 0 0 0 1 0 Y â SPY
1/1
Exchange X and SPX, XSPXY
0 0 0 0 0 0 0 0 1 1 X â SPX,Y â SPY
1/1
Y and SPY
Note: The assembler automatically provides an operand for the second word of the LWA instruction.
168
|
▷ |