Hopkins wrote: > I understand the idea of using pointers that chase each other in a > circular fashion but I do not know how to declare a memory block (da > command?) and then how to setup the pointers to store and retrieve > data. Memory blocks are reserved with the RES directive. What you are describing is sometimes called a "circular buffer" or sometimes a FIFO (First In First Out queue). For FIFO code details see the various FIFO_xxx macros in STD.INS.ASPIC at http://www.embedinc.com/pic. You can see these macros in use in the standard UART module which is available from the same web page. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist