SET - Define an Assembler Variable
Syntax
<label> set <expr>
Description
<label>
is assigned the value of the valid MPASM assembler expression specified by<expr>
. The set directive is functionally equivalent to theequ
directive except that set values may be subsequently altered by otherset
directives.Example
area set 0
width set 0x12
length set 0x14
area set length * width
length set length + 1
See Also
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |