问:
MOV A,#FFH
Power.asm(118): error A45: UNDEFINED SYMBOL (PASS-2)
JBC P2.0,CXSM
LJMP CIRCLE
Power.asm(179): error A51: TARGET OUT OF RANGE
NDIV4: DJNZ B,NDIV2 提示过错:Power.asm(285): error A45: UNDEFINED SYMBOL (PASS-2)
CLR PSW.5
RET
答:
MOV A,#FFH
后边的16进制数字,不能以字母最初。比如说 :B5H应该写成: 0B5H。FFH → 0FFH
后边的16进制数字,不能以字母最初。比如说 :B5H应该写成: 0B5H。FFH → 0FFH