Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

To add more code when no space is available for CY7C65113

To add more code when no space is available for CY7C65113

Anonymous
Not applicable
Question: How to add more code (<248 bytes) as there is no space available. What routines to delete?

 

Answer:

Please see the listing file.  The following is a snippet from the *lst file. There is some space at the end of the lower 4K block at 0x0F08


  0F08                XPAGEON

  0F08

  0F08            ;------------------------------------------------------------------------

  0F08            ; Upper 4K of EPROM

  0F08            ; Include most hub support routines to the upper half of code space.

                       ; <-  Space of 248 bytes available here

  0F08            ;------------------------------------------------------------------------

  1000                ORG     UPPER_4K

  1000            ;------------------------------------------------------------------------

  1000            ; HUB.ASM

  1000            ;------------------------------------------------------------------------

  1000                XPAGEON

There is about 248 bytes available.  You may insert the additional code at this location.  Please make sure that you do abide by the rules as per the CYasm Guide regarding calling a function across blocks.

0 Likes
144 Views
Contributors