piclist 2000\05\25\183130a >
Thread: Stupid things to avoid when using UDATA_OVR
face BY : Quitt, Walter email (remove spam text)

Folks when writing PIC assembly:

Do NOT mix variables declared UDATA_OVR that
are used in interrupt and non-interrupt level code!
That bug took some time to figure out!
I was trying to be too clever this time......

Now I use overlayed variables ONLY in non-real
time (non-interrupt code.)  The file registers (variables)
used in interrupt service routines are either just UDATA

I have yet figure out if UDATA will go down into or over
UDATA_SHR space if you run out of UDATA space.  Guess
we'll see.

GL, Walt...


See also: www.piclist.com/techref/microchip/memory.htm?key=data
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Stupid things to avoid when using UDATA_OVR

month overview.

new search...