Buy Contact NSDSP Home

nsdsp_debug_get_pc

This function returns the value of program counter(PC) at the point of the last halt. This is the address where the device halted.

Syntax

unsigned int nsdsp_debug_get_pc(
        nsdsp_session_t   session
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

Return

The function returns the value of PC at the last halt.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.