• 2022-06-04
    ORG 0 LJMP START ;跳转到(PC)=0030H处 ORG 30H START:MOV R0,#30H MOV A,#12H SETB C ADDC A,R0 MOV @R0,A SWAP A INC A MOV DPTR,#2000H INC DPH MOV P1,A INC A MOVX @DPTR,A XCH A,R0 RL A ;累加器A内容循环左移 PUSH ACC RL A ;累加器A内容循环左移 POP ACC END(A)= (R0)= (DPTR)= (P1)= (30H)=