laser
Junior Member level 3
Dear friends:
I´m working on an assembler program for a mid range PICmicro MCU, with wich I need to generate several signals simultanously.
At a certain step, I will need to simultaneously change (set or reset) the state of two bits from a PORT register, keeping all the others unchanged, and the two bit values might be diferent from each other.
BSF and BCF canot be used, because if used, the bit changes will happen in two diferent steps.
Anyone knows any short bitwise operation to do this?
Thanks alot for any help.
Francisco S.
I´m working on an assembler program for a mid range PICmicro MCU, with wich I need to generate several signals simultanously.
At a certain step, I will need to simultaneously change (set or reset) the state of two bits from a PORT register, keeping all the others unchanged, and the two bit values might be diferent from each other.
BSF and BCF canot be used, because if used, the bit changes will happen in two diferent steps.
Anyone knows any short bitwise operation to do this?
Thanks alot for any help.
Francisco S.