<label>: EQU <expression>
None
The EQU directive assigns the value of the <expression> in the operand field to <label>. The <label> and <expression> fields are both required, and the <label> cannot be defined anywhere else in the program. The <expression> cannot include a symbol that is undefined or not yet defined.
The EQU directive does not allow forward references.
See the following listing for examples of using the EQU directive.
0000 0014 MaxElement: EQU 20 0000 0050 MaxSize: EQU MaxElement * 4 Time: DS.B 3 0000 0000 Hour: EQU Time ; first byte addr. 0000 0002 Minute: EQU Time+1 ; second byte addr 0000 0004 Second: EQU Time+2 ; third byte addr