Code: Why is this code greater than 2000 words?


Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    May 2007
    Posts
    2

    Default Code: Why is this code greater than 2000 words?

    Hi Guys,

    I am new to PICs and picbasic pro, and an using a PIC 16F628a. I have a program up and running, but I seem to have run out of space on my PIC. The 628 has a 2000 word limit, and it seems that my compiled code exceeds that. I don't quite understand what in the code amounts to one word of data. Is it possible to take a peek at my code and see what is taking up so much space, am I doing something wrong, or is this normal for the commands I am using?

    Right know I have commented out several blocks of code that use the pulsout command to generate a pwm signal to move a servo. I have commented them so that the code remains below 2000 words. With those blocks it grows to roughly 2300 words.

    I appreciate the help,
    Andreas
    Attached Files Attached Files

Similar Threads

  1. Manchester coding/decoding Code help
    By financecatalyst in forum Code Examples
    Replies: 0
    Last Post: - 25th August 2009, 19:05
  2. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  3. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  4. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  5. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26

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