Hi guys, i'm doing some more work on the PIC sound software, i'd like to make it so it will generate complete .asm code to play the sound back, not just the retlw table. I need some code for a neat large table reader, which just gets one data byte and incs the 16bit pointer. The table is formatted in a continuous string of retlw instructions, and the first byte of the table can be anywhere in memory. * 16bit address of table first byte * 16bit address of table last byte (table can be any length up to 8k) Can anyone help with code to do this? Especially code that will suit 12 core and 14 core PICs, so min stack use. Thanks! :o) -Roman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body