How to tell which PICs can handle 16 bit variables?


Closed Thread
Results 1 to 3 of 3
  1. #1
    MikeTamu's Avatar
    MikeTamu Guest

    Default How to tell which PICs can handle 16 bit variables?

    Hello, I seem to be a little confused on which PICs can use 16 bit variables and which ones cannot. I am interested in using a PIC16F88 with PICBasicPro. The data sheet for the PIC16F88 mentions 16 bit words in memory but I was wondering if that means I can actually use 16 bit variables with this PIC or not.

    Is there a general rule on how to find out if a PIC you are interested in can use 16 bit variables?

    Thanks.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    If it says PIC on the chip, it can handle word sized variables.
    DT

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,617


    Did you find this post helpful? Yes | No

    Default

    Hi, Tamu

    I Think you mean Handle 16Bits AT A TIME ...

    PICs can virtually handle as much bits as you want ... but only 8 by 8 at a time !!!
    More bits need more software handling !!!

    Note PBP limit is 16 bits, and 31( or 32 ?) bits for special operations like DIV32 ...

    PICs are 8 bits processors = they handle 8 bits by 8 bits ...

    but you can also find 1, 4 , 16, 32 ( PENTIUM 3 ) and 64 bits ( PENTIUM 4 ) common processors.
    For military use ... more bits available !!!

    Alain
    Last edited by Acetronics2; - 31st August 2005 at 10:23.

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Hardware SPI with AD7680 16 bit ADC
    By Castor in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd June 2008, 09:01
  3. Funny PULSIN values: what is going on???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th April 2008, 08:02
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts