labels in ASM
by theKbStockpiler from LinuxQuestions.org on (#4YJYK)
Hi. I want to be able to do simple assembly programming. I have studied some asm and higher level languages in the past but I can't find a definition of a (label) with context.
It just looks to me like a identifier to throw on a line that gives a temporary reference point for the compiler. Why not just use 'line one of code' for the first statement and then use 'line 2 of code' for the second?
What's the naming convention for using labels in any case?
Thank you for your expertise!


It just looks to me like a identifier to throw on a line that gives a temporary reference point for the compiler. Why not just use 'line one of code' for the first statement and then use 'line 2 of code' for the second?
What's the naming convention for using labels in any case?
Thank you for your expertise!