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 SYSMBOL

Hi All,
I have the following code for a AT89s8252.
When I compile it it gives more than 10 errors...

   #include <REG52.h>

	org 0000h
	mov a,#0ffh
	end

Parents
  • You compile 'C' source with a compiler;
    You assemble assembly source with an assembler.

    Anyway, the assembler probably already has built-in definitions for standard SRFs & registers - hence the "already deefined" errors with the include file.

    You must either disable the built-in definitions (see the Manual), or remove the include file.

Reply
  • You compile 'C' source with a compiler;
    You assemble assembly source with an assembler.

    Anyway, the assembler probably already has built-in definitions for standard SRFs & registers - hence the "already deefined" errors with the include file.

    You must either disable the built-in definitions (see the Manual), or remove the include file.

Children