Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C enviornment in the following : #include <stdlib.h> #include <type.h> #include <board.h> #include <flash1.h> void main (void) { . . . asm("SSBX INTM"); . . . asm("RSBX INTM"); . . . } but the bit "INTM" always could not be changed(through the register window).Why ? perhaps the environment is disturbed ? Please give me a answer as soon as possible ? Thanks a lot ! --------------------------------- |
|
embedded assembly
Started by ●February 26, 2004
Reply by ●February 27, 20042004-02-27
Dear Liang, The only thing I could say now is to check your Processor Version in Compiler tab in project Build option. I forgot what is your processor type, but the value for TMS320VC5416 is "548". This will be add by -v switch to cl500.exe commad during compile time. Best regards, Morteza Alizadeh liang mar <> wrote: Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C enviornment in the following : #include #include #include #include void main (void) { . . . asm("SSBX INTM"); . . . asm("RSBX INTM"); . . . } but the bit "INTM" always could not be changed(through the register window).Why ? perhaps the environment is disturbed ? Please give me a answer as soon as possible ? Thanks a lot ! --------------------------------- _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://www.yahoogroups.com/group/c54x Other Groups: http://www.dsprelated.com Yahoo! Groups Links --------------------------------- |