Fujitsu CM71-00101-5E User Manual

Page of 314
64
CHAPTER 6  INSTRUCTION OVERVIEW
6.1
Instruction Formats
The FR family CPU uses six types of instruction format, TYPE-A through TYPE-F.
Instruction Formats
All instructions used by the FR family CPU are written in the six formats shown in Figure 6.1-1.
Figure 6.1-1  Instruction Formats
Relation between Bit Patterns "Ri" and "Rj" and Register Values
Table 6.1-1 shows the relation between general-purpose register numbers and field bit pattern values.
M
S
B
L
S
B
16
b
it
s
8b
it
s
8b
it
s
4
b
it
s
4
b
it
s
4
b
it
s
4
b
it
s
OP
OP
Rj
Ri
8b
it
s
4
b
it
s
4
b
it
s
OP
u
4/m4/i4
Ri
8b
it
s
8b
it
s
OP
u8
/rel
8
/dir/rli
s
t
12
b
it
s
4
b
it
s
OP
Ri/R
s
5
b
it
s
11
b
it
s
OP
rel11
Ri
i
8
/o
8
TYPE-A
TYPE-B
TYPE-C
TYPE-D
TYPE-F
TYPE-E
Table 6.1-1  General-purpose Register Numbers and Field Bit Pattern Values
Ri/Rj
Register
Ri/Rj
Register
Ri/Rj
Register
Ri/Rj
Register
0000
R0
0100
R4
1000
R8
1100
R12
0001
R1
0101
R5
1001
R9
1101
R13
0010
R2
0110
R6
1010
R10
1110
R14
0011
R3
0111
R7
1011
R11
1111
R15