sandeepa said:"BTW, why do you have memory write enabled?."
No particular reason...it wont really cause any harm,will it?
Not as far as I know?.
unless you have the default radix set as hexadecimal.
Where is this setting done?I havent particularly done any such setting.Though I didnt get any error message regarding this.
You can set it in various places, one is in the source code - see the MPASM helpfile, this will over ride any settings elsewhere. If it's not set in the source file it will use the default settings of the assembler, which you can set on radio buttons in MPASM.
Presumably MPLAB has access to the default radix settings as well?, but I never use it.