Subroutine or repeated code, which is more memory efficient?


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Subroutine or repeated code, which is more memory efficient?

    YAY! I guessed right!

  2. #2
    Join Date
    Feb 2013
    Posts
    1,159


    Did you find this post helpful? Yes | No

    Default Re: Subroutine or repeated code, which is more memory efficient?

    Thanks!

    I've tried to look at microcode studio displayed code size, but it does not seems to be in relation with actual code - I've added say 20 lines of new code, but sometimes size gets increased by only 1-2 words, sometimes - 200.

Similar Threads

  1. Stopping repeated messages
    By GatorGuy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 20th October 2011, 20:40
  2. Making code more efficient, any ideas please?
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 26th July 2011, 14:28
  3. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 01:22
  4. Embedding Variables into Code Memory
    By JoeSolar in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th October 2006, 18:58
  5. fatal error [301] out of memory with 4 lines of code????
    By George in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th October 2005, 22: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