<< Previous | Next >>

LD pd,(SP+n)     Load     Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
-- LD pd,(SP+n) pd0=(SP+n)
pd1=(SP+n+1)
pd2=(SP+n+2)
pd3=(SP+n+3)
ED 04 n LD PW,(SP+n) PW0=(SP+n)
PW1=(SP+n+1)
PW2=(SP+n+2)
PW3=(SP+n+3)
ED 14 n LD PX,(SP+n) PX0=(SP+n)
PX1=(SP+n+1)
PX2=(SP+n+2)
PX3=(SP+n+3)
ED 24 n LD PY,(SP+n) PY0=(SP+n)
PY1=(SP+n+1)
PY2=(SP+n+2)
PY3=(SP+n+3)
ED 34 n LD PZ,(SP+n) PZ0=(SP+n)
PZ1=(SP+n+1)
PZ2=(SP+n+2)
PZ3=(SP+n+3)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
15
n/a
n/a
Rabbit 5000
16
15
14

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

Description

Loads pd (any of the 32-bit registers PW, PX, PY or PZ) with the 32 bits of data whose address is the sum of SP and the 8-bit unsigned constant n.


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