Can someone help explain what needs to be done for this problem?
Write a timing diagram, including values of the PC(program counter), for the following instruction sequence when (a) the BTFSC instruction results in a skip and (b) when it does not.
Address Instruction
50 BTFSC
51 ADDLW
52 SUBLW
All I know is that I need to show when each instruction Fetches and Executes, but I don't understand what the program counter is.
Write a timing diagram, including values of the PC(program counter), for the following instruction sequence when (a) the BTFSC instruction results in a skip and (b) when it does not.
Address Instruction
50 BTFSC
51 ADDLW
52 SUBLW
All I know is that I need to show when each instruction Fetches and Executes, but I don't understand what the program counter is.