Thomson
Full Member level 3
Hi,
At first, the SMALL compile memory model is used, which of course the internal data is used.
However since the memory space is not enough for current project development; the LARGE compile memory model is used.
In order to enhance the code speed as much as possible, the memory type on the passing parameter is used; however the external memory address is still used (here @DPTR register is used). Of course, the memory type does have effect on the pointer parameter!
I'd like to know whether the un-pointer parameters' meomry addresses can only be determined by the compile meomry model and cannot be overriden by the meomry type specifier!
Thomson
At first, the SMALL compile memory model is used, which of course the internal data is used.
However since the memory space is not enough for current project development; the LARGE compile memory model is used.
In order to enhance the code speed as much as possible, the memory type on the passing parameter is used; however the external memory address is still used (here @DPTR register is used). Of course, the memory type does have effect on the pointer parameter!
I'd like to know whether the un-pointer parameters' meomry addresses can only be determined by the compile meomry model and cannot be overriden by the meomry type specifier!
Thomson