Hi all,
I am using IAR compiler. In this i developing the code in C. But for one of my rquirement i want to make high for port pin. So that i am trying the following line of codes in the *.C files,
asm("BIS.B #01, &0x0282u"); asm("BIS.B #0, &P1OUT"); #ifdef __IAR_SYSTEMS_ASM__ (BIS.B #02,&P1OUT) #endif BIS.B #02,&P1OUT
but nothing is working. Can nayone know how to use assembly code in *.c file in IAR compiler.
Thanks in advance.