NEC 78K/0 Series User Manual page 78

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents