Fujitsu MB90480 Series Hardware Manual page 646

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

APPENDIX
Table D.8-15 28 Other Control Instructions (Byte, Word, Long Word)
Mnemonic
#
PUSHW
A
1
PUSHW
AH
1
PUSHW
PS
1
PUSHW
rlst
2
POPW
A
1
POPW
AH
1
POPW
PS
1
POPW
rlst
2
JCTX
@A
1
AND
CCR,#imm8
2
OR
CCR,#imm8
2
MOV
RP,#imm8
2
MOV
ILM,#imm8
2
MOVEA
RWi,ear
2
MOVEA
RWi,eam
2+
MOVEA
A,ear
2
MOVEA
A,eam
2+
ADDSP
#imm8
2
ADDSP
#imm16
3
MOV
A,brg1
2
MOV
brg2,A
2
NOP
1
ADB
1
DTB
1
PCB
1
SPB
1
NCC
1
CMR
1
*1: PCB, ADB, SSB, USB, SPB: 1, DTB, DPR: 2
*2: 7 + 3 x (POP count) + 2 x (POP last register number), 7 when RLST = 0 (no transfer register)
*3: 29 + 3 x (PUSH count) - 3 x (PUSH last register number), 8 when RLST = 0 (no transfer register)
*4: (POP count) x (c) or (PUSH count) x (c)
*5: (POP count) or (PUSH count)
Note:
See Table D.5-1 and Table D.5-2 for information on (a) to (d) in the table.
624
~
RG
B
word (SP) ← (SP) - 2, ((SP)) ← (A)
4
0
(c)
word (SP) ← (SP) - 2, ((SP)) ← (AH)
4
0
(c)
word (SP) ← (SP) - 2, ((SP)) ← (PS)
4
0
(c)
(SP) ← (SP) - 2n, ((SP)) ← (rlst)
*3
*5
*4
word (A) ← ((SP)), (SP) ← (SP) + 2
3
0
(c)
word (AH) ← ((SP)), (SP) ← (SP) + 2
3
0
(c)
word (PS) ← ((SP)), (SP) ← (SP) + 2
4
0
(c)
(rlst) ← ((SP)), (SP) ← (SP)
*2
*5
*4
14
0
6 x (c)
Context switch instruction
byte (CCR) ← (CCR) and imm8
3
0
0
byte (CCR) ← (CCR) or imm8
3
0
0
byte (RP) ← imm8
2
0
0
byte (ILM) ← imm8
2
0
0
word (RWi) ← ear
3
1
0
word (RWi) ← eam
2+(a)
1
0
word (A) ← ear
1
0
0
word (A) ← eam
1+(a)
0
0
word (SP) ← ext(imm8)
3
0
0
word (SP) ← imm16
3
0
0
byte (A) ← (brg1)
*1
0
0
byte (brg2) ← (A)
1
0
0
1
0
0
No operation
1
0
0
Prefix code for AD space access
1
0
0
Prefix code for DT space access
1
0
0
Prefix code for PC space access
1
0
0
Prefix code for SP space access
1
0
0
Prefix code for flag no-change
1
0
0
Prefix code for common register bank
Operation
LH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Z
-
-
-
-
-
-
-
-
AH
I
S
T
N
Z
V
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
*
*
*
*
*
-
-
-
-
-
-
-
-
*
*
*
*
*
*
-
*
*
*
*
*
*
-
*
*
*
*
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
-
-
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
*
*
-
-
-
-
-
*
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
C
RMW
-
-
-
-
-
-
-
-
-
-
-
-
*
-
-
-
*
-
*
-
*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Advertisement

Table of Contents
loading

Table of Contents