This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cygnal constants in upper 64k w/o bankswitching

The Cygnal f12x has 128k of flash and using code banking defeats the purpose of using Cygnal. The overhead of banking slows the program down as much as using the Cygnal speed it up.
Thus:

Is there a way in Keil to make all movc a,@a+dptr generated by the compiler/written in assembler access the upper 64k WITHOUT using bankswitching. The Cygnal chip has simple means of data bank select.

in advance thanks,

Erik

Parents
  • The only method I can think of is to declare your constants as far, write your own far variable handler using Cyngal's ability to fetch constants from the page being different than the one holding the code. But, that's limited to 32K page size anyway...

    regards

    Dejan

Reply
  • The only method I can think of is to declare your constants as far, write your own far variable handler using Cyngal's ability to fetch constants from the page being different than the one holding the code. But, that's limited to 32K page size anyway...

    regards

    Dejan

Children
No data