ReadSP Method
UP ]

 

Description

This method is used to read the stack pointer register.

Syntax

wSP = HCS121.ReadSP

Parameters are not required.

Part Type Description
wSP Integer 16 bit value returned.

Remarks

In order to make this method success you have to be sure the target processor is in active background mode. Use GetBDMStatus to know the state of the BDM module or directly execute Stop method.

See also:

GetBDMStatus method

Stop method

 

If you have a question or suggestion please contact me. Updated: 03.19.2003
Copyright (c) 2003-2004 J.Gorgas. All rights reserved. All trademarks mentioned are the property of their respective owners.