Hi Grissiom,
Thanks for the fast reply. It's pretty clear now. Bit operation works
only if the register address is multiple of 8.
Regards,
Zafi.
On Sun, Aug 7, 2011 at 3:44 PM, Grissiom wrote:
> Hi Zafi,
>
> On Sun, Aug 7, 2011 at 9:27 PM, Zafi Ramarosandratana
> wrote:
>> Hello,
>>
>> __sbit
Hi Zafi,
On Sun, Aug 7, 2011 at 9:27 PM, Zafi Ramarosandratana wrote:
> Hello,
>
> __sbit is heavily used in the mcs51 include files of sdcc.
> My understanding is that __sbit selects a specific bit from a
> register. For example, __sbit at (0x83) P0_3 means P0_3 is bit 3 of
> register 0x80.
>
>