English
Language : 

HD404374 Datasheet, PDF (127/161 Pages) Renesas Technology Corp – Low-Voltage AS Microcomputers with On-Chip A/D Converter
HD404374/HD404384/HD404389/HD404082/HD404084 Series
Instruction Set
The MCU Series has 101 instructions, classified into the following 10 groups:
• Immediate instructions
• Register-to-register instructions
• RAM addressing instructions
• RAM register instructions
• Arithmetic instructions
• Compare instructions
• RAM bit manipulation instructions
• ROM addressing instructions
• Input/output instructions
• Control instructions
The functions of these instructions are listed in tables 30 to 39, and an opcode map is shown in table 40.
Table 30 Immediate Instructions
Operation
Mnemonic
Load A from immediate LAI i
Load B from immediate LBI i
Load memory from
immediate
LMID i,d
Load memory from
LMIIY i
immediate, increment Y
Operation Code
1 0 0 0 1 1 i3 i2 i1 i0
1 0 0 0 0 0 i3 i2 i1 i0
0 1 1 0 1 0 i3 i2 i1 i0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
1 0 1 0 0 1 i3 i2 i1 i0
Function
i→A
i→B
i→M
Words/
Status Cycles
1/1
1/1
2/2
i → M, Y + 1 → Y NZ
1/1
Table 31 Register-Register Instructions
Operation
Mnemonic Operation Code
Function
Words/
Status Cycles
Load A from B
LAB
0001001000
B→A
1/1
Load B from A
LBA
0011001000
A→B
1/1
Load A from W
LAW
0100000000
W→A
2/2*
0000000000
Load A from Y
LAY
0010101111
Y→A
1/1
Load A from SPX
LASPX
0001101000
SPX → A
1/1
Load A from SPY
LASPY
0001011000
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.
Rev.5.00, Sep.11.2003, page 127 of 161