Question: Write a program to toggle all bits of Port C and Port B continuously using the COM instruction://load R16 with value to make Port x

Write a program to toggle all bits of Port C and Port B continuously using the COM instruction://load R16 with value to make Port x an output//Make Port B an output//Make Port C an output//load initial state of R16 with all bits.//Send to Port B the value loaded at R16.//Send to Port C the value loaded at R16//all bits of R16//Send to Port B the value loaded at R16.//Send to Port C the value loaded at R16//go back to flipping the bits of R16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
