On Fri, 6 Dec 2002, Bob Ammerman wrote: > > The hardware multiply isn't very helpful if you want to do more than 8bit > > multiplications, as it requires that you write everything the standard way > > instead of utilising the multiply function of the chip. > > This is not true. You can use the hardware multiply for larger arguments. > Just imaging doing multiplication in base 256 and you'll see what I mean. > > (hint: it will take 4 MUL instrucftions (plus some other instructions) to do > 16 x 16 multiply. In general, for A-bits x B-bits multiply, where A and B > are multiples of 8, you will need (A/8)*(B/8) MUL instructions.) (hint hint: it can actually be done with 3 MUL instrucftions (sic)) -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body