EasyManua.ls Logo

Rabbit 2000 - LD (Mn),A

Rabbit 2000
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Instruction Reference Manual 65
Description
• LD (mn),A: Loads the memory location whose address is mn with the data in A.
• LD (mn),HL: Loads the memory location whose address is mn with the data in L, then loads
the memory location whose address is 1 plus mn withthedatainH.
• LD (mn),IX: Loads the memory location whose address is mn with the low order byte of the
data in IX, and the memory location whose address is 1 plus mn with the high order byte of the
data in IX.
• LD (mn),IY: Loads the memory location whose address is mn with the low order byte of the
data in IY, the memory location whose address is 1 plus mn with the high order byte of the data
in IY into.
• LD (mn),ss: Loads the memory location whose address is mn with the low order byte of the
data in ss (any of BC, DE, HL or SP). Then, loads the memory location whose address is 1 plus
mn with the high order byte of the data in ss.
LD (mn),A
LD (mn),HL
LD (mn),IX
LD (mn),IY
LD (mn),ss
Opcode Instruction Clocks Operation
32 nm LD (mn),A a (mn)=A
22 nm LD (mn),HL b (mn)=L;(mn +1)=H
DD 22 nm LD (mn),IX c (mn)=IX
(low)
;(mn +1)=IX
(high)
FD 22 nm LD (mn),IY c (mn)=IY
(low)
;(mn +1)=IY
(high)
——
ED 43 nm
ED 53 nm
ED 63 nm
ED 73 nm
LD (mn),ss
LD (mn),BC
LD (mn),DE
LD (mn),HL
LD (mn),SP
c
c
c
c
c
(mn)=ss
(low)
;(mn +1)=ss
(high)
(mn)=C;(mn +1)=B
(mn)=E;(mn +1)=D
(mn)=L;(mn +1)=H
(mn)=P;(mn +1)=S
Clocking: (a)10 (2,2,2,1,3) (b)13 (2,2,2,1,3,3) (c)15 (2,2,2,2,1,3,3)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •