I'm trying to build my assembly program to the DS80C400 at Keil uVision2...everthing was ok until I try to change the program start from ORG 000000H to ORG 010000H...now, when I try to build the hex file I receive this error:
Build target 'Target 1' assembling NACSYSsource.a51... linking... *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: CODE SEGMENT: ?CO?NACSYSSOURCE?0 LENGTH: 0105A2H *** ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT SEGMENT: ?CO?NACSYSSOURCE?0 Program Size: data=8.0 xdata=0 const=0 code=66978 Target not created
How and where can I select this? Thanks,
In the SEGMENT statement in your .a51 file, of course.
I don't have and don't know how to use such thing. I only use the ORG directive, and I can't find how to use this segment directive. Thanks
I don't have and don't know how to use such thing Then go back to basics and learn how to program assembly. How can you ask about a problem in a module, if you do not know how to make one? Erik
sometimes, when we never had any lessons about that we start making programs without using all that things, until now I never had this kind of problems, just I tried to use expanded adress system. Thanks anyway, Nuno