Sign in to follow this  

Question about Labels in assembly language.

Recommended Posts

: is generally not considered a part of a label (EDIT: Generally means 99.99% chance). Of course we have no idea what language you actually talk about. Saying it's assembly is like saying it's an European language we need to know whether it's x86 assembly, whether you use MASM, NASM or TASM, etc.
How about trying to make a label which is 32 long without the colon. If the assembler complains then the colon is included.

Share this post

Link to post
Share on other sites
Original post by Mindripper2000
Thanks for the quick response.

As for the language, I'm just talking about in general as I'm currently trying to understand it.

In general there is no 32 character limit. In general assembly languages doesn't even have labels. Of course all popular assembly languages for the x86 does have labels, but I doubt all of them has a 32 character limit.

I think you can assume that the colon isn't a part of the label, I have never heard of any assembly languages where that was the case and I see no reason for the assembler to do so.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this