Fujitsu FR30 Computer Hardware User Manual


 
422
APPENDIX E Instructions
Direct Addressing Instructions
*: Place an NOP after the DMOV instruction that specifies R13+ as the transfer source.
(Note)
The assembler calculates and sets values in the dir8, dir9, and dir10 fields as follows:
dir8 -> dir, dir9/2 -> dir, dir10/4 -> dir dir 8, dir9, and dir10 are unsigned.
Resource Instructions
2) When label32-PC-2 is outside of the range in 1) and includes an external reference
symbol, an instruction is created as follows:
Bxcc false xcc: Counter condition of cc
LDI:32 #label32,Ri
JMP:D @Ri
false:
Table E.1-18 Direct Addressing Instructions
Mnemonic Type OP CYCLE 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,(R15) -->(dir10)
(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
Table E.1-19 Resource Instructions
Mnemonic Type OP CYCLE NZVC Operation Remarks
LDRES @Ri+,#u4
STRES #u4, @Ri+
C
C
BC
BD
a
a
----
----
(Ri) -->u4 resource
Ri+=4
u4 resource -->(Ri)
Ri+=4
u4: Channel number
u4: Channel number