> Bob, are you sure this is true for all PICs ? (esp 12 and 14 bit cores) ? The description of the stack in all uChip documentation I have seen is the same: push throws the oldest entry into never-never, pop duplicates the oldest entry. Hence the number of entries always stays the same. Note that this is not exactly the same as a cyclic stack, but I'm not sure you can make a program that depends on the difference. Wouter van Ooijen Van Ooijen Technische Informatica: http://www.voti.nl Jal compiler for PIC uC's: http://www.voti.nl/jal PICs kopen? http://www.voti.nl/shop -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads