Olin Lathrop wrote: > > "Allocating a block of RAM" is a meaningless concept on the PIC; > > Not at all. That is precisely what the RES directive is for. I guess... But as long as EQU and CBLOCK can be used in a program that also uses RES, the block isn't really "allocated"; it's just protected from reuse by other RES directives, in the same way that registers named using CBLOCK can be kept from being renamed by other CBLOCK directives. This is in contrast to what I think of as "real" allocation... Which would be the sort of thing you see in high-level languages, where (generally speaking) once a variable name is declared/used, other variable names will never be assigned to the same RAM. I see what you mean, though. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === (but open to offers) === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist