Armasm calculates the address of a label relative.
Example of label in assembly language. A label is a symbol that represents the memory address of an instruction or data. Labels are also used to identify an entry point into a compiled sequence of statements eg during debugging. The directive EQU stands for equals.
All the labels in assembly language must follow the rules given below. Hence you could write. CPL A DJNZ R2AGAIN DJNZ R3NEXT.
Each source statement consists of a sequence of ASCII characters ending with a carriage return. Ferred to explicitly in the program. A label can be placed at the beginning of a statement.
The address can be PC-relative register-relative or absolute. As such labels are 32-bit values when they are used in assembly language programs. Please note however that a label must be followed by a.
Also in Pascal and its derived variations. By choosing label names that are meaningful a programmer can make a program much easier to read and maintain. Three periods indicates that any number of the previous item may follow.
In an assembly language program a label is simply a name for an address. Each statement follows the following format label mnemonic operands comment The fields in the square brackets are optional. START EQU 10 ORG START GOTO 10.