Hello, The stack pointer for the chip I'm using is 8bits (address 256 bytes max). Is there any way to get around this limitation so I can have larger stack space? (without changing chips) Regards, KC
But for XBPSTACKTOP, we are setting the starting value (and it grows down), so wouldnt this cause an overlap later. Only if you use up all of the stack space. If you have 64K of XDATA, set the top of the XBPSTACK at 0xFFFF. That gives you 64K-(xdata variables) of stack space. Won't this be enough? Jon