How much code space our routines have article


+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    2 Not allowed!

    Default How much code space our routines have article

    This article is based on an idea and code by Darrel Taylor. How much code space do our routines have? We can find out with some MPASM directives. And much more... Read the article HERE.

    Alberto
    73's de Alberto ea3agv

Attention

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #2
    Fanatical Contributor Tim's Avatar
    Join Date
    Jan 2003
    Posts
    7,689
    Thumbs Up
    Received: 47
    Given: 95
    Total Downloaded
    1.32 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    Probably not right here but when I'm looking to save code space. I look through the ASM file. The lines of basic are there and followed by the ASM. You can see at a glance the code that takes up a lot of space.

    eg something like
    If X > 25 or = 7 or < 5 then would produce a lot of code

    Changing it to
    Select X
    Case > 25
    Gosub y
    Case 7
    Gosub y
    Case <5
    Gosub y
    End Select

    Would probably save a lot
    Tim

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #3
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    Hi Tim,
    You probably have the wrong thread. I do not think I wrote this in this library.
    Please, Could you specify in which case?
    Regards
    Last edited by AlbertoFS; 4th September 2018 at 15:51.
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #4
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    N-Bit Maths with BCD arrays:

    Hi all,
    I have written some codes allowing very large calculations with some unpacked integer BCD arrays.
    It has been a lot of work because I do not know much about maths.
    You will see that it is very easy to use and visualize. I have written all the tools to make very large maths.
    If you need more macros, do not hesitate to ask for it.
    Enjoy the BCD Maths.
    Regards
    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #5
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    21/09/2018 Fixed an errata with __KEYPAD_PORT.

    Regards
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #6
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    1 Not allowed!

    Default Re: How much code space our routines have article

    04/10/2018:Version 1.4 Fixed some erratas with the preprocessor.

    Add new macros: MeasurePeriod(), MeasureTime(), HRSOut_RCON(), ConvToFloat().
    You can find more than 31 macros in this library. That will be very useful for your projects.

    Regards
    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #7
    Member teo's Avatar
    Join Date
    Sep 2010
    Posts
    309
    Thumbs Up
    Received: 8
    Given: 1
    Total Downloaded
    7.41 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    Thank you very much,
    Teo

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #8
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,136
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.61 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    Forgive me if I don't understand the problem: it's very easy to determine the codespace using the .lst file

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #9
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    10/10/2018
    Added new macros: ReadTSensorTSH(), VarToStrg() & Update ConvToFloat() for negative numbers.
    There are more than 35 macros available.
    Regards
    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #10
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: How much code space our routines have article

    19/10/2018
    Added a new code for VarToStrg() Macro.
    Added new macros: CWBeacon_Init() / CWBeacon_Send() / CWWait_Buttons()
    With these macros and a few lines of code, the PDS user can built a Ham CW Beacon or a CW Memory Keyer.
    There are more than 40 macros available in the library.
    Regards

    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. AlbertoFS has just uploaded How much code space our routines have?!
      By AlbertoFS in forum Proton Users File Server
      Replies: 0
      Last Post: 4th September 2018, 06:23
    2. Array in code space?
      By normnet in forum Proton Plus Compiler v3
      Replies: 0
      Last Post: 1st May 2014, 01:11

    Posting Permissions

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