SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By XDEX
#190732
Our professor wants us to make a program in MLab to show an output of the basic logic gates using pic18f where the inputs(switches) will be assign assign in RA1 and RA2

RB0 = RA1 + RA2
RB3 = RA1 * RA2
RB4 =RA1 xor RA2
RB7 =RA1 xnor RA2
also he don't want us to use bit oriented operation so we must use byte oriented operation only and no using of C programming