• defining sbit for LPC3180
    Hello How i can define a bit variable for LPC3180? As we can do it by writing sbit for C51 architectures.
  • Can SFRs and Sbits be defined as volatile?
    sbit P07 = 0x87; void main() { while(P07); // End Program unless we get error printf("Error - line went low"); // Print Error being recieved for(;;) // End after Error } Problem is that it never...
  • HELP:How to define a complex MACRO?
    I had searched in the Discussion Forum for the whole moring but I couldn't find the right way to solve the problem I met,so I send this message hoping you guys can help me!Thanks in advance:-)My problem...
  • Use MACRO C "#define value" in MACRO ASM
    I use KeilC uVision4 for 89C51 MCU. I use "Inline ASM Code", like this : void main() { #pragma ASM MOV R7, #( 80000/40000 ) #pragma ENDASM } -> When COMPILE, ASM result file give a...
  • How to define a macro function
    hi,     I want to ask a question.      How to define a macro function that can be called by C language in armasm?      I know that in GNU can be used in the following way: .macro push_x1_x12 push x1,x2...