| ||||||||
Technical Support Support Resources Product Information | C166: _POP_ INTRINSIC LIBRARY ROUTINEInformation in this article applies to:
QUESTIONHow can I pop values from the stack in C? ANSWERYou may use the _pop_ intrinsic library routine to POP word values from the system stack. This library routine returns the 16-bit value that is POPed. For example:
#include <intrins.h>
void testpop (void) {
volatile unsigned temp;
_push_ (temp);
temp = _pop_ ();
}
MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, October 20, 2005 | |||||||
| ||||||||