this is the code: INCLUDE <REG52.h> BACK:MOV A,#55H MOV P1,A ACALL DELAY MOV A,#AAH MOV P1,A ACALL DELAY SJMP BACK
DELAY: MOV R0,#11 H1:MOV R1,#248 H2:MOV R3,#255 H3:DJNZ R3,H3 DJNZ R1,H2 DJNZ R0,H1 RET END this is the error messages: Build target 'Target 1' assembling TEST2.A51... TEST2.A51(1): error A9: SYNTAX ERROR TEST2.A51(5): error A45: UNDEFINED SYMBOL (PASS-2) Target not created
So have you checked if it does exist?
If it does not exist, then you will obviously get an error from anything that tries to use it, won't you?!
If it does exist, you also need to ensure that it is in the correct location for the tools to be able to find it.
Again, you need to read the Manual to know what rules the tools use for finding include files...