Author |
Message |
Topic: 8x8 Multiply with 16-bit Result |
BadBrainBoy
Replies: 3
Views: 47131
|
Forum: Code Library Posted: Fri May 13, 2005 4:41 pm Subject: 8x8 Multiply with 16-bit Result |
Hi All,
The default when doing int8 * int8 with a hardware multiplier PIC is to keep only the LSB of the result (PRODL). This is C standard, I suppose, but not very useful.
If you want the full ... |
Topic: Where can I find register & bit name #defines? |
BadBrainBoy
Replies: 3
Views: 6927
|
Forum: General CCS C Discussion Posted: Tue May 03, 2005 5:26 pm Subject: Where can I find register & bit name #defines? |
Yes! This is the type of thing I'm after. This is apparently just an ad hoc thing though, if some poor programmer happens to wade through it and post it like this. It seems like CCS or Microchip sh ... |
Topic: Where can I find register & bit name #defines? |
BadBrainBoy
Replies: 3
Views: 6927
|
Forum: General CCS C Discussion Posted: Tue May 03, 2005 5:07 pm Subject: Where can I find register & bit name #defines? |
I would like to #include a list of #defines for a given PIC which contains the #byte and #bit definitions for all the PIC registers and bits, using the Microchip data sheet names. Am I dreaming? It ... |
Topic: How to use fancy 18Fxxxx indexing? |
BadBrainBoy
Replies: 2
Views: 4718
|
Forum: General CCS C Discussion Posted: Thu Apr 28, 2005 5:21 pm Subject: How to use fancy 18Fxxxx indexing? |
I'm trying to write fast code for the 18F2220. It has three nice auto-incrementing indirect memory pointers, the INDFx and FSRx registers. But when I use constructs like x = *pRead++; I find that th ... |
|