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

error A10: ATTEMPT TO DEFINE AN ALREADY DEFINED SYMBOL

Build target 'Target 1'
assembling STARTUP.ASM...
89C51RE2.H(17): error A10: ATTEMPT TO DEFINE AN ALREADY DEFINED SYMBOL

This is line 17 in the header file
/* BYTE Register */
Sfr (P0 , 0x80);

When I compile modules in Microvision3 I got error
A10 error on the include file header 89c51RxD2.h
If I comment lie 17 out.. I will get error undefine symbol later.

I select the Device as 89C51RE2 in the IDE
It works OK in DOS compilers.

How do I solve this problem?

Thanks

0