CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: 8x8 Multiply with 16-bit Result
BadBrainBoy

Replies: 3
Views: 47131

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group