First page Back Continue Last page Overview Graphics
Laboratory 5.1 : Logic Instructions
1. Write a program that
- reads variable VAR_1 (with initial value set to $fc) into the accumulator, then
- clears bit 6 of VAR_1 (and only bit 6), and then
- stores this new value back into VAR_1.
- Use a logic operation to clear the bit.
- Verify that the program works properly.
- If the program is run multiple times be sure to load it again in order to initialize VAR_1.