enter image description here

As you can see, IDA disassembly shows r0@1, r5@5, [sp+0h] [bp-18h]@7 etc. Presuming r0, r5 to be registers and [sp+0h] [bp-18h] to be a memory location, what does the number at the end signify?

  • Count the number of occurrences of r0 in the disassembled code. Could this be variable propagation? (And then it'd the the nth occurrence of that register.)
    – Jongware
    Oct 31 '16 at 18:57
  • 1
    JFYI, this is decompilation pseudocode, not "disassembly".
    – Igor Skochinsky
    Oct 31 '16 at 19:04