Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->LDS
Load Stack Pointer
Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y
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 mode | op | cyc | bytes | Assembler syntax |
Immed.: | 8E | 3 | 3 | LDS #<exprn.> |
Direct: | 9E | 4 | 2 | LDS <exprn.> |
Index : | AE | 5 | 2 | LDS <exprn.>,X |
Extend: | BE | 5 | 3 | LDS <exprn.> |