NEC 78K/0S Series User Manual page 86

8-bit single-chip microcontroller
Table of Contents

Advertisement

RORC
[Instruction format]
[Operation]
[Operand]
Mnemonic
RORC
A, 1
[Flag]
Z
AC
[Description]
The destination operand (dst) contents specified with the 1st operand are rotated just once to the right
including the CY flag.
[Description example]
RORC A, 1; The A register contents are rotated to the right by one bit including the CY flag.
86
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
RORC dst, cnt
(CY ← dst
← CY, dst
, dst
0
7
Operand (dst, cnt)
CY
×
CY
7
User's Manual U11047EJ3V0UM00
Byte Data Rotation to the Right with Carry
← dst
) × one time
m–1
m
Rotate Right with Carry
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents