若数据块为有符号数,起始地址为片外RAM1001H,数据块长度存放在片外RAM1000H单元,编程求数据块中正数的个数。
ORG 0030H
START: MOV
20H,#00H;计正数的个数
MOV DPTR,#0000H
MOVX A,@DPTR
MOV 10H,A
INC DPTR
TWO: MOVX
A,@DPTR
JB ACC.7,ONE
INC 20H
ONE: INC DPTR
DJNZ 10H,TWO
END
A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.
免费的网站请分享给朋友吧