[<<][staapl][>>][..]
Mon Oct 22 13:55:12 EDT 2012

Automatic banked access

The bank select instruction gets in the way of optimization.  It's
probably best to make bank-select words for all operations that use
direct memory references, and just inject the instruction in a
preprocessing step based on the actual value of the address:

This could use the following map:
000-07F  access RAM
080-0FF  device registers
1FF-F80  bank-select accessed
F80-FFF  stack ram (from 080-0FF).

For straight line code the bank select instruction could then also be
omitted.



[Reply][About]
[<<][staapl][>>][..]