User’s Manual
255
19.13 8-bit Fast A Register Operations
Instruction clk A I S Z V C Operation
CPL 2 r - - - - A = ~A
NEG 4 fr * * V * A = 0 - A
RLA 2 fr - - - * {CY,A} = {A,CY}
RLCA 2 fr - - - * A = {A[6,0],A[7]}; CY = A[7]
RRA 2 fr - - - * {A,CY} = {CY,A}
RRCA 2 fr - - - * A = {A[0],A[7,1]}; CY = A[0]
19.14 8-bit Shifts and Rotates
Instruction clk A I S Z V C Operation
RL (HL) 10 f b * * L * {CY,(HL)} = {(HL),CY}
RL (IX+d) 13 f b * * L * {CY,(IX+d)} = {(IX+d),CY}
RL (IY+d) 13 f b * * L * {CY,(IY+d)} = {(IY+d),CY}
RL r 4 fr * * L * {CY,r} = {r,CY}
RLC (HL) 10 f b * * L * (HL) = {(HL)[6,0],(HL)[7]};
CY = (HL)[7]
RLC (IX+d) 13 f b * * L * (IX+d) = {(IX+d)[6,0],
(IX+d)[7]}; CY = (IX+d)[7]
RLC (IY+d) 13 f b * * L * (IY+d) = {(IY+d)[6,0],
(IY+d)[7]}; CY = (IY+d)[7]
RLC r 4 fr * * L * r = {r[6,0],r[7]}; CY = r[7]
RR (HL) 10 f b * * L * {(HL),CY} = {CY,(HL)}
RR (IX+d) 13 f b * * L * {(IX+d),CY} = {CY,(IX+d)}
RR (IY+d) 13 f b * * L * {(IY+d),CY} = {CY,(IY+d)}
RR r 4 fr * * L * {r,CY} = {CY,r}
RRC (HL) 10 f b * * L * (HL) = {(HL)[0],(HL)[7,1]};
CY = (HL)[0]
RRC (IX+d) 13 f b * * L * (IX+d) = {(IX+d)[0],
(IX+d)[7,1]}; CY = (IX+d)[0]
RRC (IY+d) 13 f b * * L * (IY+d) = {(IY+d)[0],(
IY+d)[7,1]}; CY = (IY+d)[0]
RRC r 4 fr * * L * r = {r[0],r[7,1]}; CY = r[0]
SLA (HL) 10 f b * * L * (HL) = {(HL)[6,0],0}; CY =
(HL)[7]
SLA (IX+d) 13 f b * * L * (IX+d) = {(IX+d)[6,0],0};
CY = (IX+d)[7]
SLA (IY+d) 13 f b * * L * (IY+d) = {(IY+d)[6,0],0};
CY = (IY+d)[7]
C
RL, RLA
C
RLC, RLCA
RR, RRA
C
C
RRC, RRCA
SLA
0
C
SRA
SRL
0
C
C
Summary of Contents for Rabbit 2000
Page 2: ...Rabbit 3000 Microprocessor User s Manual 019 0108 040731 O ...
Page 9: ...Rabbit 3000 Microprocessor ...
Page 29: ...20 Rabbit 3000 Microprocessor ...
Page 64: ...User s Manual 55 5 PIN ASSIGNMENTS AND FUNCTIONS ...
Page 79: ...70 Rabbit 3000 Microprocessor ...
Page 80: ...User s Manual 71 6 RABBIT INTERNAL I O REGISTERS ...
Page 123: ...114 Rabbit 3000 Microprocessor ...
Page 137: ...128 Rabbit 3000 Microprocessor ...
Page 157: ...148 Rabbit 3000 Microprocessor ...
Page 207: ...198 Rabbit 3000 Microprocessor ...
Page 249: ...240 Rabbit 3000 Microprocessor ...
Page 255: ...246 Rabbit 3000 Microprocessor ...
Page 277: ...268 Rabbit 3000 Microprocessor ...
Page 343: ...334 Rabbit 3000 Microprocessor ...
Page 345: ......