English
Language : 

7906 Datasheet, PDF (465/531 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER
APPENDIX
Appendix 6. Machine instructions
Symbol
ASRD #n
(Note 4)
BBC
(Note 3)
BBCB
BBS
(Note 3)
BBSB
BCC
Function
Addressing Modes
Operation IMP IMM A DIR DIR, X DIR, Y (DIR) (DIR, X) (DIR), Y L(DIR) L(DIR), Y
length (Bit) op n # op n # op n # op n # op n # op n # op n # op n # op n # op n # op n #
Arithmetic shift to the right by n bits
32
(n = 0 to 31)
E
→ b31 … b0 ← C
D1 8 2
80 +
+ imm
imm
if M(bit n) = 0
16/8
then PC←PC + cnt + REL (–128
to +127)
(cnt: Number of bytes of instruction)
if M8(bit n) = 0
8
then PC←PC + cnt + REL (–128
to +127)
(cnt: Number of bytes of instruction)
if M(bit n) = 1
16/8
then PC←PC + cnt + REL (–128
to +127)
(cnt: Number of bytes of instruction)
if M8(bit n) = 1
8
then PC←PC+cnt+REL (–128 to
+127)
(cnt: Number of bytes of instruction)
if C = 0
–
then PC←PC + 2 + REL (–128 to
+127)
BCS
if C = 1
–
then PC←PC + 2 + REL (–128 to
+127)
BEQ
if Z = 1
–
then PC←PC + 2 + REL (–128 to
+127)
BGE
if N∀V = 0
–
then PC←PC + 2 + REL (–128 to
+127)
BGT
if Z = 0 and N∀V = 0
–
then PC←PC + 2 + REL (–128 to
+127)
BGTU
if C = 1 and Z = 0
–
then PC←PC + 2 + REL (–128 to
+127)
BLE
if Z = 1 or N∀V = 1
–
then PC←PC + 2 + REL (–128 to
+127)
BLEU
if C = 0 or Z = 1
–
then PC←PC + 2 + REL(–128 to
+127)
BLT
if N∀V = 1
–
then PC←PC + 2 + REL (–128 to
+127)
20-60
7906 Group User’s Manual Rev.2.0