Tool/software: TI C/C++ Compiler
Hi,
I have a question from my customer who is using TMS320C6713B.
Customer wants to clear an individual interrupt bits in ICR as described in User’s Guide section 5.3.2.
http://www.ti.com/lit/ug/spru733a/spru733a.pdf
The example shows the assembly code, but customer wants C source example.
I understood below keyword should be used to reference control registers.
extern __cregister volatile unsigned int IFR; extern __cregister volatile unsigned int ICR;
But it is not clear for me the compiler properly generates MVC instruction.
For example, below C code
ICR = 0x40
is translated to below assembly code including NOP (delay slot) ?
MVK 40h, B3 MVC B3, ICR NOP
Thanks and regards,
Koichiro Tashiro