Searching \ for 'Hi all. New Subscriber..newbie question already.' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Hi all. New Subscriber..newbie question already.'.

Truncated match.
PICList Thread
'Hi all. New Subscriber..newbie question already.'
1998\12\09@002611 by Scott Shidel...

Hi all
I am new to PICs..hell, I am new to uP's..I am a senior mechanical
engineering student at the University of South Florida. I am working on a
pic project as well, as it looks like the "easiest" way of doing what I
need once I get accustomed to the PIC's uniqueness.
I got into this thing thining it would be no big deal, because I took a
class called Instrument Systems where we worked on a Z80 based single
board computer.  I could program that thing like theres no tomorrow.
Problem is, it had no features, and like 5 registers, which made it
simple.  It sure was easy to work with.  Anyhow, here is my current
question..I have Myke Predko's book Programming and Customizing the PIC,
and it has sample code for doing 16 bit multiplication.  I tried entering
it and my product is nothing correct so I assume I did something wrong.
Can someone send me a program for a 16c711(if it makes a diff) that will
do a*b=c?
Thanks alot

               The Pinto Page:
                  Join the Ford Turbo Mailing List!
-71 Pinto, stock 2.3 turbo, 13.67@98, radials
       8.1@85 1/8th mile on slicks
-85 Merkur 13.764@98 on radials&3300lbs! Under $300 in mods!

1998\12\09@003039 by Michael Hagberg

i don't have the book so it's hard to review the code, but this message was
posted in reference to the microchip code and might just be the same code
and problem you are having.

I found the problem with FXD1616U - it WAS a bug of sorts,
in the macro UDIV1616L in FXD1616U. LOOPCOUNT is set
to 16, to perform the divide on all 16 bits, the problem is that it
does not specify the radix and I was using HEX so 16 -> 22
therefore there were 6 too many leftward shifts. It just goes to
show that you can't just trust a routine from an appnote blindly.

Thanks anyway,

Alex Thomas.


You may leave the list at any time by writing "SIGNOFF PICLIST" in the
   body of a message to spam_OUTLISTSERVTakeThisOuTspamMITVMA.MIT.EDU.

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...