Simulate 8052 microcontroller with keiluVision3

Hi,

I would like to debug a piece of source code based on 8052 microcontroller, the code is following:

MAIN:      MOV T2CON, #02h
           MOV tl2,   #0FBh
          MOV th2,   #0FFh
          MOV RLDL,  #0FBh
          MOV RLDH,  #0FFh
          MOV IE,    #0A0h
          SETB TR2
HERE:      LJMP HERE
           ORG  002BH
           CPL  P1.0
           RET
           END


The device I choose is "Analog device ->ADE7169F16".
As I know, it is based on 8052 microcontroller and it contains 3 timers/counters. But when I compile it, it appears error message as follow:

Build target 'Target 1'
assembling 8052.asm...
8052.asm(1): error A45: UNDEFINED SYMBOL (PASS-2)
8052.asm(2): error A45: UNDEFINED SYMBOL (PASS-2)
8052.asm(3): error A45: UNDEFINED SYMBOL (PASS-2)
8052.asm(4): error A45: UNDEFINED SYMBOL (PASS-2)
8052.asm(5): error A45: UNDEFINED SYMBOL (PASS-2)
8052.asm(7): error A45: UNDEFINED SYMBOL (PASS-2)
Target not created

Who can help me ? Thanks in advance!

wwang

More questions in this forum