Question: Write a PIC18F assembly language program at address 0x50 that will check even, the program will clear all bits in data register 0x40 to 0's.

Write a PIC18F assembly language program at address 0x50 that will check even, the program will clear all bits in data register 0x40 to 0's. On the other hand, if the number is odd, the program will all bits in data register 0x40 to l's. Assume that the 8-bit numbers are already loaded into WREG
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
