Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->LDS

LDS    Load Stack Pointer

M -> SPmsb, (M+1) -> SPlsb

Condition Code Register:

C  Not affected
V  Reset Always
Z  Set if result Zero, else cleared
N  Set if bit 15 = 1
I  Not affected
H  Not affected


    
Addressing modeAssembler syntax
Immed.:LDS #<exprn.>
Direct:LDS <exprn.>
Index X:LDS <exprn.>,X
Index Y:LDS <exprn.>,Y
Extend:LDS <exprn.>