List of instruction function, Hardware – Renesas 4514 User Manual
Page 76
4513/4514 Group User’s Manual
HARDWARE
1-63
LIST OF INSTRUCTION FUNCTION
Group-
ing
RAM addresses
Function
(Mj(DP))
←
1
j = 0 to 3
(Mj(DP))
←
0
j = 0 to 3
(Mj(DP)) = 0 ?
j = 0 to 3
(A) = (M(DP)) ?
(A) = n ?
n = 0 to 15
(PC
L
)
←
a
6
–a
0
(PC
H
)
←
p
(PC
L
)
←
a
6
–a
0
(PC
H
)
←
p
(PC
L
)
←
(DR
2
–DR
0
,
A
3
–A
0
)
(SP)
←
(SP) + 1
(SK(SP))
←
(PC)
(PC
H
)
←
2
(PC
L
)
←
a
6
–a
0
(SP)
←
(SP) + 1
(SK(SP))
←
(PC)
(PC
H
)
←
p
(PC
L
)
←
a
6
–a
0
(SP)
←
(SP) + 1
(SK(SP))
←
(PC)
(PC
H
)
←
p
(PC
L
)
←
(DR
2
–DR
0
,
A
3
–A
0
)
(PC)
←
(SK(SP))
(SP)
←
(SP) – 1
(PC)
←
(SK(SP))
(SP)
←
(SP) – 1
(PC)
←
(SK(SP))
(SP)
←
(SP) – 1
Comparison
operation
Subroutine operation
Branch operation
Bit operation
Return operation
Mnemonic
SB j
RB j
SZB j
SEAM
SEA n
B a
BL p, a
BLA p
BM a
BML p, a
BMLA p
RTI
RT
RTS
Mnemonic
XAMI j
TMA j
LA n
TABP p
AM
AMC
A n
AND
OR
SC
RC
SZC
CMA
RAR
Function
(A)
←
→
(M(DP))
(X)
←
(X)EXOR(j)
j = 0 to 15
(Y)
←
(Y) + 1
(M(DP))
←
(A)
(X)
←
(X)EXOR(j)
j = 0 to 15
(A)
←
n
n = 0 to 15
(SP)
←
(SP) + 1
(SK(SP))
←
(PC)
(PC
H
)
←
p
(PC
L
)
←
(DR
2
–DR
0
,
A
3
–A
0
)
(B)
←
(ROM(PC))
7
–
4
(A)
←
(ROM(PC))
3
–
0
(PC)
←
(SK(SP))
(SP)
←
(SP) – 1
(A)
←
(A) + (M(DP))
(A)
←
(A) + (M(DP)) +
(CY)
(CY)
←
Carry
(A)
←
(A) + n
n = 0 to 15
(A)
←
(A) AND (M(DP))
(A)
←
(A) OR (M(DP))
(CY)
←
1
(CY)
←
0
(CY) = 0 ?
(A)
←
(A)
→
CY
→
A
3
A
2
A
1
A
0
Mnemonic
TAB
TBA
TAY
TYA
TEAB
TABE
TDA
TAD
TAZ
TAX
TASP
LXY x, y
LZ z
INY
DEY
TAM j
XAM j
XAMD j
Function
(A)
←
(B)
(B)
←
(A)
(A)
←
(Y)
(Y)
←
(A)
(E
7
–E
4
)
←
(B)
(E
3
–E
0
)
←
(A)
(B)
←
(E
7
–E
4
)
(A)
←
(E
3
–E
0
)
(DR
2
–DR
0
)
←
(A
2
–A
0
)
(A
2
–A
0
)
←
(DR
2
–DR
0
)
(A
3
)
←
0
(A
1
, A
0
)
←
(Z
1
, Z
0
)
(A
3
, A
2
)
←
0
(A)
←
(X)
(A
2
–A
0
)
←
(SP
2
–SP
0
)
(A
3
)
←
0
(X)
←
x, x = 0 to 15
(Y)
←
y, y = 0 to 15
(Z)
←
z, z = 0 to 3
(Y)
←
(Y) + 1
(Y)
←
(Y) – 1
(A)
←
(M(DP))
(X)
←
(X)EXOR(j)
j = 0 to 15
(A)
←
→
(M(DP))
(X)
←
(X)EXOR(j)
j = 0 to 15
(A)
←
→
(M(DP))
(X)
←
(X)EXOR(j)
j = 0 to 15
(Y)
←
(Y) – 1
RAM to register transfer
Arithmetic operation
RAM to register transfer
Register to register transfer
Group-
ing
Group-
ing
LIST OF INSTRUCTION FUNCTION