刚学KEIL,汇编程序,不知错误如何解决。
【程序MAIN.ASM】
ORG 0000H
LJMP MAIN
ORG 0100H
MAIN:
MOV SP,#80H
lcall aaa
nop
nop
sjmp $
#include "M_01.ASM"
END
【程序M_01.ASM】
AAA:
MOV A,#23H
MOV B,#54H
MUL AB
RET
END
【编译结果】
Build target 'Target 1'
assembling main.asm...
main.asm(11): warning A73: TEXT FOUND BEYOND END STATEMENT - IGNORED
linking...
*** WARNING L30: MEMORY SPACE OVERLAP
FROM: C:000000H
TO: C:000007H
Program Size: data=8.0 xdata=0 const=0 code=280
creating hex file from "ABC"...
"ABC" - 0 Error(s), 2 Warning(s).
此帖出自
小平头技术问答
一周热门 更多>