On Tue, Feb 23, 2010 at 9:41 AM, Jason Hsu wrote: > In C code, how do you move the result of ADRESL from Bank 01 to Bank > 00 in C? =A0In Assembly language, the thing to do is put the result of > ADRESL in the working variable, switch to Bank 00, and move the > working variable into another variable. =A0How do you access the working > variable in C? =A0It seems to be hidden away. > You should be able to use the #define WREG, e.g. WREG =3D ADRESL; The compiler takes care of everything for you, you don't need to think about the bank. -Scott -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist