Search code examples
assemblymipsreadability

Relationship between label and readability in assembler


Using simulator Mars, I am programming in assembly for MIPS architecture. At some point, I began to use labels that I don't even jump back to. I did this because I thought this may improve readability of my program. Am I overusing labels? Maybe commenting is largely enough... I'd like to know. Thank you.


Solution

  • Am I overusing labels?

    Definitely yes!

    Labels are only there for the assembler and not for readability!

    Use comments instead.