Jump to content
Sign in to follow this  

Disable Bank Switching In Asm Code

Recommended Posts

Hi Pavel,


For C2C compiler version 5.7e


Please refer to topic


for the original reason for the problem and examples.


I'd like to be able to disable the compiler inserting bank switch statements in asm{} code only but not for the 'C' code. Currently it can be switched off for all code, but doing this prevents the 'C' code from working if it is large, like my code. For some asm code I am taking care of the bank switching myself, and don't want the extra code inserted. The problem is important in the interrupt routine described in the topic referenced above, but is now becoming important now my code is approaching memory limit....too many instructions being added.



Does the new Boost1.8 compiler support this? I'm up against a timetable so don't really want to risk changing my environment if it isn't.


Thanks Phil

Share this post

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...