COSC 422/524
Homework #2


1) What is a comparator ? We use the term from the electronics/electrical engineering perspective.

2) What does it mean to multiplex a pin ?

3) All of our programs contain the following lines:

	movlw	0x07
movwf CMCON

What do these lines of code do?


4) We stated in class that all PIC instructions that do not change the PC take 1 microsecond the
execute and that instructions that do change the PC take 2 microseconds. Why is this so? You will
need to refer to the PIC 16f628 technical reference manual.