1. For the data of figure 1, and using the instructions andwf,andlw and bcf, the operation of clearing a group of bits ofvariable i will be performed by writing a portion of code inassembly that performs i = i & 0x0F for each instruction(remember all will do the same “clearing bits”).
2. For the data of figure 1, and using the instructions iorwf,iorlw and bsf, the operation of setting a group of bits of thevariable j writing a portion of code in assembly that performs j =j | 0x0E for each instruction (remember all will do the same”setting bits”).
Assembly
OR
OR