<< Previous | Next >>

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

Opcode
Instruction
Operation
-- LD (SP+n),ps (SP+n)=ps0; (SP+n+1)=ps1
(SP+n+2)=ps2; (SP+n+3)=ps3
ED 05 n LD (SP+n),PW (SP+n)=PW0; (SP+n+1)=PW1
(SP+n+2)=PW2; (SP+n+3)=PW3
ED 15 n LD (SP+n),PX (SP+n)=PX0; (SP+n+1)=PX1
(SP+n+2)=PX2; (SP+n+3)=PX3
ED 25 n LD (SP+n),PY (SP+n)=PY0; (SP+n+1)=PY1
(SP+n+2)=PY2; (SP+n+3)=PY3
ED 35 n LD (SP+n),PZ (SP+n)=PZ0; (SP+n+1)=PZ1
(SP+n+2)=PZ2; (SP+n+3)=PZ3

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
19
n/a
n/a
Rabbit 5000
20
19
18

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

Description

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


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