textequ

Defines a text equate, assigning a string value.

  equate .textequ "string"

  
Parameters

equate

Name of the equate.

string

String value for the equate, in double quotes.

Remarks

This directive helps port existing code. You can use it to give new names to machine instructions, directives, and operands.

Upon finding a text equate, the assembler replaces it with the string value before performing any other processing on that source line.

Examples
  dc.b    .textequ    ".byte"

  
  endc    .textequ    ".endif"