>>>> MSPGCC has _BIC_SR and BIS_SR, but is there a construct equivalent to
>>>> _BIC_SR_IRQ in the IAR and Quadravox packages?
>>>

>#define _BIC_SR_IRQ(x)\
>    __asm__ __volatile__ (\
>            "bic       %0, .L__FrameOffset_" __FUNCTION__ "(r1)"\
>            :: "i" (x)\
>    )
>
>#define _BIS_SR_IRQ(x)\
>    __asm__ __volatile__ (\
>            "bis       %0, .L__FrameOffset_" __FUNCTION__ "(r1)"\
>            :: "i" (x)\
>    )

these macros are now checked in. they will be available when you update
msp430-libc the next time.

chris




Reply via email to