varunme
Advanced Member level 3
How to change the state of 3 adjescent bit according to input
How can we change the state of 3 adjescent bits of a port according to the input from another port
eg :1
input port : Portc= 10010000
Outputport: Portd= 11111100
eg :2
input port : Portc= 10001000
Outputport: Portd= 11101110
the three bits including that is high from the input also on
How can we change the state of 3 adjescent bits of a port according to the input from another port
eg :1
input port : Portc= 10010000
Outputport: Portd= 11111100
eg :2
input port : Portc= 10001000
Outputport: Portd= 11101110
the three bits including that is high from the input also on