On Sat, 23 Sep 2000, Olin Lathrop wrote: > > I need to convert 16 bit binary to 4 BCD digits. I searched the archives > > and thought I had found just the right thing, so I more-or-less just > pasted > > it into my 16C877 code. However, MPASM gives error messages on the lines > > with the ds and $ directives. I can't find any references to the $ > (except > > where it returns the PCL) in the MPASM user's guide. > > > > ... > > > > NumH: ds 1 > > NumL: ds 1 > > TenK: ds 1 > > > > ... > > > > addlw $E2 > > What stone tablet did you find this chiseled on!? I vaguely remember > stories of the Ancient Ones that used to say "DS" to reserve storage and "$" > to denote hexadecimal. It was written by John Payson - the most brilliant person ever subscribed to the PICLIST. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu