Sangram Mali

Bit manipulation of High page registers in 9S08

Discussion created by Sangram Mali on Aug 10, 2007
Latest reply on Aug 10, 2007 by CompilerGuru
Hello everybody,
                      I read thred started by andie and answered by David. But, that was not sufficient to clear my doubt about instruction or way in C language , which we use for bit manipulation.
 
                    Shall we use
                                          Registername_bitname = 1 or 0.
        or
                                         Registername = (use & or | for resetting or setting bit)
 
Finally for compiler and execution of program which one of them is more efficient ?
 
 

Outcomes