• 2022-06-04
    ORG 0 LJMP START ORG 30HSTART: MOV SP,#50H MOV DPTR,#3000H MOV R0,#20H MOV A,#23H MOV R2,#0FH SETB 01H SETB C ADDC A,@R0 INC R0 MOV @R0,A LOOP:DJNZ R2, LOOP SWAP A PUSH ACC INC DPH MOVX @DPTR,A POP B RR A ADD A,B MOV P1,A END(21H)= (R2)= (A)= (B)= (3100H)=
  • 举一反三