Ability to pay per MCU License.


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    Nice to have a confirmation on this.

    Though I would like to have on PBP local variables and passing values to subs as C does. This would produce even more efficient code.

    But anyway, I guess this won't come in the near (or far) future.

    Ioannis

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    I declare "b0 VAR BYTE" and use it as a generic local variable in subroutines. I can have b1, b2, or even w0, w1... etc. I learned that back in my PICAXE days. It's common to declare "int i;" in C to use in for() loops, where "i" is local.

  3. #3
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    I use TmpB1... TmpW1... TmpL1 etc...
    Passing values to sub cant make nothing for better code efficiently.
    It can make it just look better. Behind curtain, ASM code is same, or worse if compiler move vars for you.

  4. #4
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    Passing values to sub cant make nothing for better code efficiently
    That's not necessarily true... it all depends on how the compiler allocates variables, how much your program uses, and the device.

    If "passed" variables are allocated in access memory vs banked memory the resulting code can be much smaller.
    You just need a good compiler.

  5. #5
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    Then declare variable in BANKA. And use it.
    I have one of best compilers for pic. It iscalled PicBasic Pro
    And pbp have very good optimization. And wouln't benefit in program size from adding passable variables. It would just be visualy neater code.
    It have usercommand that do exactly that. And I see verry little use of it.

  6. #6
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: Ability to pay per MCU License.

    LOL, why this thread turned into another wishlist? I've asked what is perfectly doable and needs only one executable to be updated....

Similar Threads

  1. Need PIC MODBUS RTU code. Will pay.
    By vsingh in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th February 2012, 12:04
  2. To Obtain a Driving License in China is Long March
    By CircuitMart in forum Off Topic
    Replies: 0
    Last Post: - 6th May 2011, 08:47
  3. Replies: 7
    Last Post: - 14th July 2006, 03:21
  4. need help will also pay for help
    By lowina in forum General
    Replies: 2
    Last Post: - 24th March 2006, 17:44

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