> That makes sense since it is part of an ASCII routine. I always use > D'30' Sometimes you want the value to be representative of what you're doing For example ;================================================ ; Convert string characters to upper case ;================================================ lc2uc lfsr fsr0,string ;source data clrf length ;record message length cloop movlw "^" ;test for end of string xorwf indf0,w bz eos ;yes movfw indf0 ;no, get char addlw .255-"z" ;test if upper case letter addlw ("z"-"a")+1 bnc nextc ;no change to character movlw 0xe0 ;lower case letter, subtract 0x20 addwf indf0 ;store nextc incf fsr0l ;increment indices incf length bra cloop eos > but wouldn't it be "0" rather than '0' for the ASCII value? movlw '0' movlw "0" both compile to movlw 0x30 wbr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist