On Mon, 4 Feb 2002 20:32:53 -0500, Royce Simmons wrote: >Thanks All, > >I really appreciate all the answers. The code below is what I was = looking >for. I had worked >on this this morning and I had almost the code below but I did not use = the >neat trick of setting >up a default subtraction value before testing the input character. I am >learning slowly but >well, I think. I had 2 hex characters (0 to F) for input and I needed = the >get the result in the W reg >as a hex number, ex: IN =3D A1 (ASCII), output =3D A1 (HEX). > Sorry, my mistake. I thought you had two decimal digits as your input. Regards, Bob -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body