•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Master Stack Pointer ]

... is used by system software in Supervisor Mode.

In User (normal) Mode, the USP is used as the stack pointer (A7).  One
cannot access the MSP in User Mode.

When entering Supervisor Mode, the ISP is used as the stack pointer.
The MSP can only be used as the stack pointer by setting the M flag of
the Status Register.

The MSP is not set by a RESET interrupt, but must be initialized by
a MOVEC instruction.

See also Stack Pointer, User Stack Pointer,
         Supervisor Stack Pointer and Interrupt Stack Pointer.