Question: 1. Find two ways to clear (WREG] to 0 using: (a) a single PIC18F instruction (b) two PIC18F instructions (4 points) 2. Using a single
1. Find two ways to clear (WREG] to 0 using: (a) a single PIC18F instruction (b) two PIC18F instructions (4 points) 2. Using a single PIC18F instruction, clear the carry flag without changing the contents of any data registers, WREG, or other status flags. (4 points) 3. Rewrite the following PIC18F instruction sequence with fewer instructions: MOVLW 0x00 MOVWF 0x20 MOVLW 0xFF MOVWF 0x22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
