Aliasing a port with arbitrary I/O pins?
I am using a 16F676 which has only two 6bit ports.
I would like to have an 8bit port, but I am unable to Alias one.
I am trying to do something like:
OUTPORT.0 = PORTA.0
OUTPORT.1 = PORTC.0
but I will get compilation errors. I am using Microcode Studio.
Is there anyway to get an 8bit alias that represents 8 I/O pins so that I can do something like:
OUTPORT = %11101101
Any ideas? Or will I just have to make a byte variable and create a routine to assign its values to output pins (and then run it every time I change the variable)?