//KM 2018 03 23: getting lots of form spam; screen out dates before 2000 (book publication date) The compiler has optimized a local variable into a register. I'd prefer it take a memory location. How can I change this? | Byte Craft Limited

The compiler has optimized a local variable into a register. I'd prefer it take a memory location. How can I change this?

eTPU_C

The compiler has correctly optimized the variable into a register because it could do so. Declare the variable as a static variable, and eTPU_C will be forced to allocate a location.