Hi all! I need to read out the actuall value of the program counter (PC). How can I do that? I use the Keil uVision environment with an 8051 based controller! Thanks for your help!
I am not allowed to use a "call" function because I am not allowed to alter the stack pointer (SP). Huh, "not allowed"? Pray tell: who or what is stopping you? That restriction seems outright ridiculous. Does "making an omelett without breaking an egg" ring any bell to you?