beautypg.com

FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 293

background image

269

APPENDIX A Instruction Lists

Note:

The field "o8" in the TYPE-B instruction format and the field "u4" in the TYPE-C format have the

following relation to the values "disp8" to "disp10" in assembly notation.

Table A.2-9 Memory Store Instructions (13 Instructions)

Mnemonic

Format

OP

CYC

FLAG

NZVC

Operation

Remarks

ST Ri, @Rj
ST Ri, @(R13,Rj)
ST Ri, @(R14,disp10)
ST Ri, @(R15,udisp6)
ST Ri, @-R15
ST Rs, @-R15
ST PS, @-R15

A
A
B
C

E
E
E

14
10
30
13

17-0
17-8
17-9

a
a
a
a
a
a
a

– – – –
– – – –
– – – –
– – – –
– – – –
– – – –
– – – –

Ri

→ (Rj)

Ri

→ (R13+Rj)

Ri

→ (R14+disp10)

Ri

→ (R15+udisp6)

R15–=4,Ri

→ (R15)

R15–=4, Rs

→ (R15)

R15–=4, PS

→ (R15)

Word
Word
Word

Rs: dedicated register

STH Ri, @Rj
STH Ri, @(R13,Rj)
STH Ri, @(R14,disp9)

A
A
B

15
11
50

a
a
a

– – – –
– – – –
– – – –

Ri

→ (Rj)

Ri

→ (R13+Rj)

Ri

→ (R14+disp9)

Half-word
Half-word
Half-word

STB Ri, @Rj
STB Ri, @(R13,Rj)
STB Ri, @(R14,disp8)

A
A
B

16
12
70

a
a
a

– – – –
– – – –
– – – –

Ri

→ (Rj)

Ri

→ (R13+Rj)

Ri

→ (R14+disp8)

Byte
Byte
Byte

disp8

o8=disp8

disp9

o8=disp9 >> 1

disp10

o8=disp10 >> 2

udisp6

u4=udisp6 >> 2

Table A.2-10 Inter-register Transfer Instructions / Dedicated Register Transfer Instructions (5 Instructions)

Mnemonic

Format

OP

CYC

FLAG

NZVC

Operation

Remarks

MOV Rj, Ri
MOV Rs, Ri
MOV Ri, Rs
MOV PS, Ri
MOV Ri, PS

A
A
A

E
E

8B
B7
B3

17-1
07-1

1
1
1
1
c

– – – –
– – – –
– – – –
– – – –

CCCC

Rj

→ Ri

Rs

→ Ri

Ri

→ Rs

PS

→ Ri

Ri

→ PS

Transfer between general-purpose registers
Rs: dedicated register
Rs: dedicated register