Родной Intel asm51, ошибки только по UNDEFINED SYMBOL, а они и правда UNDEFINED <pre>
MCS-51 MACRO ASSEMBLER TST 06/05/:8 PAGE 1
DOS 5.0 (038-N) MCS-51 MACRO ASSEMBLER v2.2+
OBJECT MODULE PLACED IN TST.OBJ
ASSEMBLER INVOKED BY: E:\CROSS\CPU_51\INTEL\ASM51.EXE TST.A51
LOC OBJ LINE SOURCE
00FF 1 HiOvr EQU 255 ;
00FE 2 LwOvr EQU 254 ;
3
4 ; xxxxxxx xxxxxx
---- 5 DSEG AT 0
6
0020 7 ORG 20H
8
0020 9 NUM: DS 1
10 ;xxxxxxx xxxx xxxxxxxxx
11
---- 12 CSEG AT 0
13
14 USING 0
15
0000 010C 16 AJMP START ;xxxxxxx x xxxxx xxxxxx
17
0002 42 18 TPB: DB 42H ;
0003 0106 19 AJMP INTE ;xxxxxxx xx xxxxxxxxxx 1
20
0005 02 21 DT: DB 02H ;
0006 C2AF 22 INTE: CLR EA ;
0008 7408 23 MOV A,#8 ;
000A 0100 24 AJMP ERR
*** ERROR #18, LINE #24 (0), (PASS 2) UNDEFINED SYMBOL
000C 20B300 25 START: JB P3.3,STAT ;
*** ERROR #18, LINE #25 (24), (PASS 2) UNDEFINED SYMBOL
000F 7800 26 STT: MOV R0,#00H ;xxxxxx
0011 900000 27 MOV DPTR,#00H ;0-1FFFH
28 ;----------------------------------------------------
29 USING 3
0014 020000 30 LJMP LQW
*** ERROR #18, LINE #30 (25), (PASS 2) UNDEFINED SYMBOL
31
32 END
MCS-51 MACRO ASSEMBLER TST 06/05/:8 PAGE 2
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E A T T R I B U T E S
DT . . . . C ADDR 0005H A
EA . . . . B ADDR 00A8H.7 A
ERR. . . . ---- ----
HIOVR. . . NUMB 00FFH A
INTE . . . C ADDR 0006H A
LQW. . . . ---- ----
LWOVR. . . NUMB 00FEH A
NUM. . . . D ADDR 0020H A
P3 . . . . D ADDR 00B0H A
START. . . C ADDR 000CH A
STAT . . . ---- ----
STT. . . . C ADDR 000FH A
TPB. . . . C ADDR 0002H A
REGISTER BANK(S) USED: 0 3
ASSEMBLY COMPLETE, 3 ERRORS FOUND (30)
</ pre>