Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/21/04 21:10
Read: times


 
#67160 - RE: optmizing from xdata to data
Responding to: ???'s previous message
> since i´m using the Large
> model (default xdata).

Thats the wrong way !

You must do the opposite, use Small model and place some variables into idata, pdata and xdata.

Only then you can see an effect on speeding up and size down the code.

But be aware, the default startup.a51 reserve only one byte as stack, which was insufficient in any case.
So at first you must change it. On my projects often a value of 16 bytes of stack was sufficient.

Furthermore you must tell the linker, that 256 bytes of RAM available.


Peter

List of 7 messages in thread
TopicAuthorDate
optmizing from xdata to data            01/01/70 00:00      
   RE: optmizing from xdata to data            01/01/70 00:00      
      RE: optmizing from xdata to data            01/01/70 00:00      
      RE: optmizing from xdata to data            01/01/70 00:00      
   RE: optmizing from xdata to data            01/01/70 00:00      
      RE: optmizing from xdata to data            01/01/70 00:00      
         RE: optmizing from xdata to data            01/01/70 00:00      

Back to Subject List