下列指令执行后会对标志位发生影响的是()
A: MOV 30H.R2
B: SJMP LOOP
C: CJNE A. #10H, LOOP
D: INC DPTR
A: MOV 30H.R2
B: SJMP LOOP
C: CJNE A. #10H, LOOP
D: INC DPTR
举一反三
- 下列指令执行后不影响PSW相关标志位(CY、AC、OV、P)的是 () A: RRC A B: SUBB A, 30H C: DA A D: INC A E: DEC R0 F: CJNE A, #30H, LOOP
- ORG 0 LJMP START ORG 30H START:MOV SP,#50HMOV R2,#10H MOV DPTR,#3000H CLR ALOOP: MOVX @DPTR,A INC DPTR DJNZ R2,LOOP INC DPH INC DPH MOV 20H,#36H SETB 00H MOV A,20H MOVX @DPTR,A INC A INC A PUSH ACC XCH A,R2 POP DPH ADD A,#55H PUSH ACC END(A)= (R2)= (20H)= (DPTR)= (SP)=
- 下列指令执行后不影响PSW相关标志位(CY、AC、OV、P)的是<br/>() A: RRC A B: SUBB A, <br/>30H C: DA A D: INC A E: DEC R0 F: CJNE A, #30H, LOOP
- 以下程序的执行是在RAM指定区间查找数据( )。START:MOV R0,#30H MOV R2,#21HLOOP:MOV A,@R0 CJNE A,#0AAH,NEXT MOV 51H,#01H AJMP EXITNEXT:INC R0 DJNZ R2,LOOP MOV 51H,#00HEXIT: SJMP $ END A: 0AAH B: 30H C: 20H D: 01H
- 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)=