• 2021-04-14
    设R0=20H,R1=25H,(20H)=80H,(21H)=90H,(22H)=A0H,(25H)=A0H,(26H)=6FH,(27H)=76H,下列程序执行程序后,(20H)=_、(21H)=_、(22H)=_的值。
    CLRC
    MOVR2,#3
    LOOP:MOVA,@R0
    ADDCA,@R1
    MOV@R0,A
    INCR0
    INCR1
    DJNZR2,LOOP
    JNCNEXT1
    MOV@R0,#01H
    SJMP$
    NEXT:DECR0
    SJMP$
  • 举一反三