On Fri, Jan 30, 2009 at 2:48 AM, Stefano Vanzo wrote: > I have two 16bits because DATA_PORT is 16 bit. I want to know if > data8bit ends up in the lowwer part of DATA_PORT and does not effect the > two high nibbles. > > DATA_PORT |= data8bit & 0x00f0; > > -- > Regards > > Stephen Yes, it will end up in the lower part of DATA_PORT. But remember that if you & anything with 00 (the upper part), the result is always 0. -- solarwind -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist