Ingvar,

Thanks. I was trying to use a variable for the pointer. Your examples should get me going.

I am trying to load a ring buffer from inside an assembly language routine. I came up with a work around. I load the received character into a byte variable and increment the array pointer (with a mask to wrap it back to zero), then exit the ISR. In the main loop I check the value of the byte variable and if its not zero I load it into the next element in the array.

Thanks again,

Joe Kupcha.