i got it a bit mixed up RAM_END is the last physical byte for chip
so you need to read lst file to see where allocated mem finishes.
pic18's only of course
so ...
buff max size = RAM_END -(addr of highest allocated byte)
@buff=(addr of highest allocated byte+1)
Bookmarks