M2A2:Lab Introduction to MPLABX IDE
The following program adds two bytes, BYTE1 and BYTE2. If the sum
generates an overflow, it clears REG10; otherwise save the sum in
REG10. Complete the following problem.
Students will attempt to write a program that adds 34H to 56H and stores the sum into
If there is no overflow it will save the sum to REG10, if there is an
overflow it will clear WREG and REG10.
1. Start MPLAB and select FILE > CLOSE ALL PROJECTS.
2. Start a new project by selecting FILE > NEW PROJECT. Student will see the following