19.1 Load Immediate Data

Instruction

clk

A

I S Z V C

Operation

LD IX,mn

8

 

- - - -

IX = mn

LD IY,mn

8

 

- - - -

IY = mn

LD

dd,mn

6

r

-

-

-

-

dd = mn

LD

r,n

4

r

-

-

-

-

r = n

19.2 Load & Store to Immediate Address

Instruction

clk

A

I S Z V C

Operation

 

 

LD (mn),A

10

 

d - - - -

(mn) = A

 

 

LD A,(mn)

9

r

s - - - -

A = (mn)

 

 

LD (mn),HL

13

 

d - - - - (mn) = L; (mn+1) =

H

LD (mn),IX

15

 

d - - - -

(mn) = IXL;

(mn+1)

= IXH

LD (mn),IY

15

 

d - - - -

(mn) = IYL;

(mn+1)

= IYH

LD (mn),ss

15

 

d - - - -

(mn) = ssl;

(mn+1)

= ssh

LD HL,(mn)

11

r

s - - - -

L = (mn); H

= (mn+1)

LD IX,(mn)

13

 

s - - - -

IXL = (mn);

IXH = (mn+1)

LD IY,(mn)

13

 

s - - - -

IYL = (mn);

IYH = (mn+1)

LD dd,(mn)

13

r

s - - - -

ddl = (mn);

ddh = (mn+1)

19.3 8-bit Indexed Load and Store

Instruction

clk

A

I S Z V C

LD A,(BC)

6

r

s - - - -

LD A,(DE)

6

r

s - - - -

LD (BC),A

7

 

d - - - -

LD (DE),A

7

 

d - - - -

LD (HL),n

7

 

d - - - -

LD (HL),r

6

 

d - - - -

LD r,(HL)

5

r

s - - - -

LD (IX+d),n

11

 

d - - - -

LD (IX+d),r

10

 

d - - - -

LD r,(IX+d)

9

r

s - - - -

LD (IY+d),n

11

 

d - - - -

LD (IY+d),r

10

 

d - - - -

LD r,(IY+d)

9

r

s - - - -

Operation

A = (BC)

A = (DE)

(BC) = A

(DE) = A

(HL) = n

(HL) = r = B, C, D, E, H, L, A r = (HL)

(IX+d) = n

(IX+d) = r r = (IX+d) (IY+d) = n

(Iy+d) = r r = (IY+d)

19.4 16-bit Indexed Loads and Stores

Instruction

clk

A

I S Z V C

Operation

LD (HL+d),HL

13

 

d - - - - (HL+d) = L; (HL+d+1) = H

LD HL,(HL+d)

11

r

s - - - - L = (HL+d); H = (HL+d+1)

LD (SP+n),HL

11

 

- - - - (SP+n) = L; (SP+n+1) = H

LD (SP+n),IX

13

 

- - - - (SP+n) = IXL; (SP+n+1) = IXH

LD (SP+n),IY

13

 

- - - - (SP+n) = IYL; (SP+n+1) = IYH

LD HL,(SP+n)

9

r

- - - - L = (SP+n); H = (SP+n+1)

LD IX,(SP+n)

11

 

- - - - IXL = (SP+n); IXH = (SP+n+1)

LD IY,(SP+n)

11

 

- - - - IYL = (SP+n); IYH = (SP+n+1)

LD (IX+d),HL

11

 

d - - - - (IX+d) = L; (IX+d+1) = H

LD HL,(IX+d)

9

r

s - - - - L = (IX+d); H = (IX+d+1)

LD (IY+d),HL

13

 

d - - - - (IY+d) = L; (IY+d+1) = H

LD HL,(IY+d)

11

r

s - - - -

L = (IY+d); H = (IY+d+1)

250

Rabbit 3000 Microprocessor

Page 259
Image 259
Jameco Electronics 2000, 3000 Load Immediate Data, Load & Store to Immediate Address, 19.3 8-bit Indexed Load and Store