Hello Jinx, Odds are the assembler is complaining about a 16 bit expression being used when an 8 bit expression is expected. Since 10,000 in decimal is 0x2710 why not just do the 0x10+1 (i.e.0x11) and be done with it. John Dammeyer Wireless CAN with the CANRF module. http://www.autoartisans.com/documents/canrf_prod_announcement.pdf Automation Artisans Inc. Ph. 1 250 544 4950 > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Jinx > Sent: Monday, May 06, 2002 12:10 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re [PIC]: 16-bit to ASCII assembler errors > > > > > 690 : sublw (10000>>8)+1 Argument out of range. > > > Least significant bits used. > > > > sublw low ((10000>>8)+1) > > I tried that using the variable LO and you get a "Missing > operator" error > > > > 694 : output(temp) Found label after column 1. (OUTPUT) > > > > means output temp variable somewhere > > I have a variable called "temp" - "output" is what it objects to > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu