There's nothing wrong with declaring a constant by saying "temp equ 0x05". You can then use that definition, for example, "movlw temp". You can also *assume* it to be an ordinal bit value definition, if you were to write "btfsc REGx, temp". Just because you use "equ" doesn't mean you're "assigning addresses" to anything. I assume you had some sort of "misbehavior" that led you to conclude "temp equ 0x05" was the "wrong" thing to do... what happened? Jim ----- Original Message ----- From: "Hopkins" To: Sent: Friday, September 05, 2003 8:09 PM Subject: Re: [PIC:] MPASM EQU command > Hi all, > > I was trying to declare a constant with > > temp equ 0x5 > > but instead of temp = 5 it is assigned the address of 5. > > Now how do you declare a label/variable with a constant value? > > :-( > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.