Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->STS
Store Stack Pointer
Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y
SPmsb -> M, SPlsb -> (M+1)
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 |
| Direct: | 9F | 4 | 2 | STS <exprn.> |
| Index : | AF | 5 | 2 | STS <exprn.>,X |
| Extend: | BF | 5 | 3 | STS <exprn.> |