beautypg.com

Rrca rotate right circular (accumulator) – Zilog Z80380 User Manual

Page 190

background image

5-156

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

RRCA
ROTATE RIGHT CIRCULAR (ACCUMULATOR)

RRCA

Operation:

tmp

A

C

A(0)

A(7)

tmp(0)

A(n)

tmp(n+1) for n = 0 to 6

The contents of the accumulator are rotated right one bit position. Bit 0 of the accumulator
is moved to the bit 7 position and also replaces the Carry flag.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Cleared

P:

Unaffected

N:

Cleared

C:

Set if the bit rotated from bit 0 was a 1; cleared otherwise

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

RRCA

00001111

2