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

Adress space overflow

hi,

during compilation of my program i have been getting too many address overflow errors. Mostly the errors were due to function arguments placed in the data space instead of xdata...i solved it using the 'large' keyword..however now i get this error on a particular formula im implementing...viz."DecED1 = (DecCurrAss1 - DecReb1) * 0.125;" all of them are xdata float...how do i solve this..?

below is a part of the error log..

*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_BUFFER2PAGE?STSBMV1 LENGTH: 0047H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?GET_KEY?STSBMV1 LENGTH: 0045H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?CF_BITS?STSBMV1 LENGTH: 0045H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?C?LDIV LENGTH: 0044H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?DISP_INITIAL?STSBMV1 LENGTH: 0040H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_CLR?FILEDOWNLOAD LENGTH: 003DH
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_DEBUG?FILEDOWNLOAD LENGTH: 003CH
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?SOFTKEY_ON?STSBMV1 LENGTH: 003BH
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?SCREENINIT?FILEDOWNLOAD LENGTH: 003BH
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_CONVERTDATE2?FILEDOWNLOAD LENGTH: 0037H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_WRITE_OP?FILEDOWNLOAD LENGTH: 0036H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?MICRO1 LENGTH: 0036H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?MICRO2 LENGTH: 0036H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?DISP_TIME?STSBMV1 LENGTH: 0033H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_DISP_MSGB?STSBMV1 LENGTH: 0031H
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?PR?_PRT_MSG?STSBMV1 LENGTH: 002EH

Parents
  • Think about the effect of moving from Small to Large memory models - in particular, what effect will it have on the size of the generated code...?

    DecED1 = (DecCurrAss1 - DecReb1) * 0.125;
    


    Floating point also consumes a large amount of code - do you really need floating point?

    If you really do need floating point, is an 8032 really a good choice for this project?

Reply
  • Think about the effect of moving from Small to Large memory models - in particular, what effect will it have on the size of the generated code...?

    DecED1 = (DecCurrAss1 - DecReb1) * 0.125;
    


    Floating point also consumes a large amount of code - do you really need floating point?

    If you really do need floating point, is an 8032 really a good choice for this project?

Children