Remove for loop index warning in assembly