<< Previous | Next >>

LDL pd,(SP+n)     Load Low Word     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
-- LDL pd,(SP+n) pd0 = (SP + n)
pd1 = (SP + n + 1)
pd2 = FF; pd3 = FF
ED 03 LDL PW,(SP+n) PW0 = (SP + n)
PW1= (SP + n +1)
PW2 = FF; PW3 = FF
ED 13 LDL PX,(SP+n) PX0 = (SP + n)
PX1 = (SP + n + 1)
PX2 = FF; PX3 = FF
ED 23 LDL PY,(SP+n) PY0 = (SP + n)
PY1 = (SP + n + 1)
PY2 = FF; PY3 = FF
ED 33 LDL PZ,(SP+n) PZ0 = (SP + n)
PZ1 = (SP + n + 1)
PZ2 = FF; PZ3 =F F

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
11
n/a
n/a
Rabbit 5000
12
11
10

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

Description

Loads the low-order word of pd (any of the 32-bit registers PW, PX, PY or PZ) with the data whose address in the sum of SP and the 8-bit unsigned constant n. Loads the high-order word with 0xFFFF.


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