<< Previous | Next >>

LD (mn),ss     Load     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
---- LD (mn),ss (mn) = sslow;
(
mn + 1) = sshigh
ED 43 n m LD (mn),BC (mn) = C; (mn + 1) = B
ED 53 n m LD (mn),DE (mn) = E; (mn + 1) = D
ED 63 n m LD (mn),HL (mn) = L; (mn + 1) = H
ED 73 n m LD (mn),SP (mn) = SPlow; (mn + 1) = SPhigh

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
15
n/a
n/a
Rabbit 5000
15
13
11

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
·

Description

Loads the memory location whose address is mn with ss (any of the registers BC, DE, HL or SP).

There are two opcodes for "ld (mn),HL" instruction. The assembler generates the shorter one (22 n m). See the instruction LD (mn),HL on the previous page.


Rabbit Instructions << Previous | Next >> rabbit.com