beautypg.com

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

Page 296

background image

272

APPENDIX A Instruction Lists

Note:

The field "dir" in the TYPE-D instruction format has the following relation to the values "dir8" to
"dir10" in assembly notation.

Table A.2-13 Direct Addressing Instructions (14 Instructions)

Mnemonic

Format

OP

CYC

FLAG

NZVC

Operation

Remarks

DMOV @dir10, R13
DMOV R13, @dir10
DMOV @dir10, @R13+
DMOV @R13+, @dir10
DMOV @dir10, @–R15
DMOV @R15+, @dir10

D
D
D
D
D
D

08
18

0C
1C
0B
1B

b
a

2a
2a
2a
2a

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

(dir10)

→ R13

R13

→ (dir10)

(dir10)

→ (R13),R13+=4

(R13)

→ (dir10),R13+=4

R15–=4,(dir10)

→ (R15)

(R15)

→ (dir10),R15+=4

Word
Word
Word
Word
Word
Word

DMOVH @dir9, R13
DMOVH R13, @dir9
DMOVH @dir9, @R13+
DMOVH @R13+, @dir9

D
D
D
D

09
19

0D
1D

b
a

2a
2a

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

(dir9)

→ R13

R13

→ (dir9)

(dir9)

→ (R13),R13+=2

(R13)

→ (dir9),R13+=2

Half-word
Half-word
Half-word
Half-word

DMOVB @dir8, R13
DMOVB R13, @dir8
DMOVB @dir8, @R13+
DMOVB @R13+, @dir8

D
D
D
D

0A
1A

0E
1E

b
a

2a
2a

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

(dir8)

→ R13

R13

→ (dir8)

(dir8)

→ (R13),R13++

(R13)

→ (dir8),R13++

Byte
Byte
Byte
Byte

dir8

dir=dir8

dir9

dir=dir9 >> 1

dir10

dir=dir10 >> 2

Table A.2-14 Resource Instructions (2 Instructions)

Mnemonic

Format

OP

CYC

FLAG

NZVC

Operation

Remarks

LDRES @Ri+, #u4

C

BC

a

– – – –

(Ri)

→ resource u4

Ri + =4

u4: Channel number

STRES #u4, @Ri+

C

BD

a

– – – –

Resource u4

→ (Ri)

Ri + =4

u4: Channel number

Table A.2-15 Coprocessor Instructions (4 Instructions)

Mnemonic

Format

OP

CYC

FLAG

NZVC

Operation

Remarks

COPOP #u4, #CC, CRj, CRi
COPLD #u4, #CC, Rj, CRi
COPST #u4, #CC, CRj, Ri
COPSV #u4, #CC, CRj, Ri

E
E
E
E

9F-C

9F-D

9F-E

9F-F

2+a

1+2a
1+2a
1+2a

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

Designates operation
Rj

→ CRi

CRj

→ Ri

CRj

→ Ri

No error trap generated