Computer Science Now

8080 Rotate Instructions

Syntax:RRC
Description:Rotate Right
Code:0F
Format:
Action:A = A >> 1
A7 = A0
CF = A0
Flags:SZAPC
UUUUC

Syntax:RAL
Description:Rotate Left with Carry
Code:17
Format:
Action:A = (A << 1) | CF
CF = A7
Flags:SZAPC
UUUUC

Syntax:RAR
Description:Rotate Right with Carry
Code:1F
Format:
Action:A = A >> 1
A7 = CF
CF = A0
Flags:SZAPC
UUUUC

Syntax:RLC
Description:Rotate Left
Code:07
Format:
Action:A = (A << 1)
CF = A7
A0 = A7
Flags:SZAPC
UUUUC

Computer Science Now Home Computer Science Now Home
CPU Reference Index CPU Reference Index
8080 Index 8080 Index
E-Mail
copyright 2000-2005, j.h.young, revised 3/9/05