Fujitsu MB96300 series Hardware Manual page 999

F2mc-16fx 16-bit
Hide thumbs Also See for MB96300 series:
Table of Contents

Advertisement

MB96300 Super Series Hardware Manual
Table B.8-12 18 Shift instructions (byte, word, long word)
Mnemonic
#
RORC
A
2
ROLC
A
2
RORC
ear
2
RORC
eam
2+
ROLC
ear
2
ROLC
eam
2+
ASR
A,R0
2
LSR
A,R0
2
LSL
A,R0
2
ASRW
A
1
LSRW
A/SHRW A
1
LSLW
A/SHLW A
1
ASRW
A,R0
2
LSRW
A,R0
2
LSLW
A,R0
2
ASRL
A,R0
2
LSRL
A,R0
2
LSLL
A,R0
2
B
Operation
byte (A) <-- With right rotation carry
byte (A) <-- With left rotation carry
byte (ear) <-- With right rotation carry
byte (eam) <-- With right rotation carry
byte (ear) <-- With left rotation carry
byte (eam) <-- With left rotation carry
byte (A) <-- Arithmetic right shift (A, 1 bit)
byte (A) <-- Logical right barrel shift (A, R0)
byte (A) <-- Logical left barrel shift (A, R0)
word (A) <-- Arithmetic right shift (A, 1 bit)
word (A) <-- Logical right shift (A, 1 bit)
word (A) <-- Logical left shift (A, 1 bit)
word (A) <-- Arithmetic right barrel shift (A, R0)
word (A) <-- Logical right barrel shift (A, R0)
word (A) <-- Logical left barrel shift (A, R0)
long (A) <-- Arithmetic right barrel shift (A, R0)
long (A) <-- Logical right barrel shift (A, R0)
long (A) <-- Logical left barrel shift (A, R0)
APPENDIX B Instructions
L
A
I
S
T
N
Z
V
H
H
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
R
*
-
-
-
-
-
-
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
-
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
*
*
*
-
-
-
-
-
-
*
*
-
C
R
M
W
*
-
*
-
*
-
*
*
*
-
*
*
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
*
-
991

Advertisement

Table of Contents
loading

Table of Contents