Hello,
assuming I understand the requirement correctly, the code to read the
current stack-pointer would look similar to this:
/*declaration*/
void *copy_of_stack_ptr;
...
/*copy stack pointer*/
asm {
ST S,copy_of_stack_ptr
}
...
HTH,
MJW
Hello,
assuming I understand the requirement correctly, the code to read the
current stack-pointer would look similar to this:
/*declaration*/
void *copy_of_stack_ptr;
...
/*copy stack pointer*/
asm {
ST S,copy_of_stack_ptr
}
...
HTH,
MJW