ps_arunkumar
Member level 1
Hi all,
I know AND, OR and shift function but when it comes into programming, I dont know how to apply them and also where to apply them. I know them in the digital electronics view only and till date I find it hard to understand those concepts. I read that LSL is used for two complement and LSR is used for divide operation. Is my understanding correct? Do we need to manually calculate the value using these function before implementing?
Could anyone explain how to use these functions and also where to use it. Also any easy way to make use of it?
thanks,
Arun
I know AND, OR and shift function but when it comes into programming, I dont know how to apply them and also where to apply them. I know them in the digital electronics view only and till date I find it hard to understand those concepts. I read that LSL is used for two complement and LSR is used for divide operation. Is my understanding correct? Do we need to manually calculate the value using these function before implementing?
Could anyone explain how to use these functions and also where to use it. Also any easy way to make use of it?
thanks,
Arun