User’s Manual
183
18.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]
18.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
Содержание 2000
Страница 1: ...Rabbit 2000 Microprocessor User s Manual 019 0069 041018 M...
Страница 12: ...6 Rabbit 2000 Microprocessor...
Страница 46: ...40 Rabbit 2000 Microprocessor...
Страница 54: ...48 Rabbit 2000 Microprocessor...
Страница 76: ...70 Rabbit 2000 Microprocessor...
Страница 96: ...90 Rabbit 2000 Microprocessor...
Страница 142: ...136 Rabbit 2000 Microprocessor...
Страница 154: ...148 Rabbit 2000 Microprocessor...
Страница 170: ...164 Rabbit 2000 Microprocessor...
Страница 174: ...168 Rabbit 2000 Microprocessor...
Страница 180: ...174 Rabbit 2000 Microprocessor...
Страница 202: ...196 Rabbit 2000 Microprocessor...
Страница 206: ...200 Rabbit 2000 Microprocessor...
Страница 226: ......
Страница 230: ...224 Rabbit 2000 Microprocessor...