On Thu, 12 Mar 2015, cdb wrote: > On Wed, 11 Mar 2015 23:16:45 -0400, Josh Koffman wrote: > :: I've seen a few different ways to do this, and I'm not sure if > :: there are better or worse ways on this one. I am working in XC8, and I > :: want to be able to set multiple bits in a register at once. > > I normally try different ways with a new compiler/build and check the > assembler to see which gives the closest to an assembler instruction. > > Is this what you are wanting to do? > > OPTION_REG=3D(1< > Note the first two set to '1' the last keeps it as '0' Hi Colin, is this what you mean? OPTION_REG=3D(1<