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 support@ccsinfo.com

PIC 18 series is 16 bit or 18 bit

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mateeb4u@gmail.com



Joined: 07 Feb 2012
Posts: 19
Location: pakistan

View user's profile Send private message Send e-mail Yahoo Messenger

PIC 18 series is 16 bit or 18 bit
PostPosted: Wed Apr 11, 2012 5:33 am     Reply with quote

tell me about the whose series is 16bit or 18 bit
jeremiah



Joined: 20 Jul 2010
Posts: 1322

View user's profile Send private message

PostPosted: Wed Apr 11, 2012 6:38 am     Reply with quote

The manufacturer's website on PIC18:
http://www.microchip.com/pagehandler/en-us/family/8bit/architecture/pic18.html
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Wed Apr 11, 2012 6:43 am     Reply with quote

The PIC18 series has 16 bit instructions and 8 bit data.
The PIC16 series has 12 bit instructions and 8 bit data.
For 16 bit data you need to go to the PIC24 series which has 24 bit instructions.
_________________
The search for better is endless. Instead simply find very good and get the job done.
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed Apr 11, 2012 9:37 pm     Reply with quote

SherpaDoug wrote:

For 16 bit data you need to go to the PIC24 series which has 24 bit instructions.


Well, 16bit native data size.

A PIC18 or PIC16 can handle signed and unsigned integers that are 16bits in size... but they are (2) 8bit bytes.

The PIC24|dsPIC|PIC30/33 have 16bit native integer sizes (with the PIC30/33/dsPIC having even more interesting dsp-like instructions)

Just thought I would elaborate...

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group