This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: Assembly instruction for MOV in C

Part Number: TMS320F28379D


Hello,

I'm trying to use Assembly instructions for the MOVL to be written in c code. 

Eg: MOVL XARn, loc32

Kindly suggest how to implement the similar to below

asm(" SETC INTM"); /* Disable Interrupt Global Enable Bit - set it to 1 */

asm(" CLRC INTM"); /* Enable Interrupt Global Enable Bit - set it to 0 */

asm(" RPT #5 || NOP");

Also, Suggest similar assembler c line for 

RPT #1

|| PREAD *XAR4++,*XAR7 ;

If #1 information is in the variable, How to write the same

Thanks & Regards,

Raju