SECTION V-10: Rules for Labels in Assembly Language

By choosing label names that are meaningful, a programmer can make a program much easier to read and maintain. There are several rules that names must follow. First, each label name must be unique. The names used for labels in assembly language programming consist of alphabetic letters in both upper and lower case, the digits 0 through 9, and the special characters question mark (?), period (.), at (@), underline (_), and a dollar sign ($). The first character of the label must be an alphabetic character. In other words, it cannot be a number. Every assembler has some reserved words that must not be used as labels in the program. Foremost among the reserved words are the mnemonics for the instructions.

MOVWL and ADDWL are reserved because they are instruction mnemonics. There are some other reserved words too.  

More From Iamtechnical.com

Advertisement:

SiteLock