Hi, I am using some inline assember with XC8, which looks like this: asm("movlb 2"); // select Bank 2 for LATA (see page 18 of datasheet) asm("bsf LATA,1"); // Set bit 1 in the register // Also other instructions with LATA However I get this warning: main.c:92: warning: truncation of operand value (0x10c) to 7 bits I understand the warning, and I know that I can make it go away by using PORTA in the instruction instead. Both are obviously analagous as they are at the same location in different banks and the opcode only takes 7 bits of the address. Also the code above works fine. However I like to use the proper register name as that makes code much more readable and helps when I come back at a later date. Is there a way to work around the warning, except ignoring it? David --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .