Hello to All,
I am working on one evaluation board that is using AT91FR40162S And right now i have one build code which is compiled by using Green Hills.
But i have to compile the same code by using KEIL IDE.
So in the code compiled by green Hills something like this is there:
// set CPSR IRQ and FIQ bits 6 and 7 to globally disable interrupts until we're ready
// clear IRQ and FIQ bits 6 and 7 in CPSR to globally enable interrupts
But i am not able to find out definition of __DIR(); and __EIR();
Please tell me How to write these two lines of Code in C to alter the CPSR bits.
I am using my coding in C language.
Thanks In Advance
All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest