Bob Barr wrote: >>Is there a way to create a watch and look at multi-byte variables in >>MPLAB, when using the res directive? If I create a word variable such >>as temp_byte res 2, obviously when I add a watch for temp_byte I can >>see the lower byte; how do I add a watch for temp_byte + 1? > > You can set the properties for each item in the watch window. > In all of the versions that I've used, you can display watch list > items as 8-bit, 16-bit, 24-bit, and 32-bit variables in hex or decimal > notation and in either high-endian or low-endian byte order. Is there a way to see the n-th byte of a byte array? If it is declared as an array, MPLAB mostly recognizes that and displays all the values. But sometimes I have only a pointer to it (unsigned char*) and MPLAB doesn't know that the pointer points to an array with 20 values. But I do, and I might want to see all of them, or a particular one. "*pointer" works and shows the value at the address pointer points to. But "*(pointer+1)" doesn't work. Any ideas? Thanks, Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist