52 Assembly Language Fundamentals The label follows the same form and rules as do labels in BASIC - • Up to 15 characters long. • First character must be a capital letter (F::!- :Z:). • Only the non-capital letters ({J,- Z:), the numerals ([::: to :::1), or the underscore LJ may be used following the first character. No two labels are allowed to be the same in a given module. If your source consists of two or more modules, then the same label may be defined more than once, provided each definition is in a different module. (Distinguishing between modules is discussed in "Creating Modules", later in this chapter.) So you may not code - i.' t· :::::: i!
i ;; in one place in the module and later in the same module code - There are other restrictions as well on the choosing of labels. For instance, there are symbols already defined by the assembler and you are not allowed to choose one of them as a label. This is discussed at length in "Symbolic Operations" in this chapter. Both a BASIC label AND an assembly language source label can appear in the same line, and they are distinct from one another. BASIC does not know about the source label and the assembly language system does not know about the BASIC label.
Since neither BASIC nor the operating system is aware of the existence of source labels, actions ouside the assembler cannot reference these labels. Thus, if you had the source line - You can neither say GOTO Rumpelstiltskin nor EDIT Rumpelstiltskin. Neither of these can find "Rumpelstiltskin", since only the assembler can know it is there.