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.

CCS/LAUNCHXL-F28377S: Delay using NOP

Part Number: LAUNCHXL-F28377S

Tool/software: Code Composer Studio

Hello,
I am using this Instruction __asm(" RPT #100 || NOP"). I want to declare 100 as variable. I am doing in this way  __asm(" RPT #t1 || NOP") and before void main(void) i wrote this

volatile Uint32 t1 = 100. but its not working.

How would i do this.