下面交换指令中正确的是( )。
A: XCH A, @R1
B: XCH A,
C: 3AH
D: XCH 20H, R1
E: XCH R1, 20H
A: XCH A, @R1
B: XCH A,
C: 3AH
D: XCH 20H, R1
E: XCH R1, 20H
举一反三
- 已知(10H)=5AH,(2EH)=1FH, (40H)=2EH,(60H)=3DH<br/>执行下列程序段后:MOV 20H,60H MOV R1,20H MOV A,40H XCH A,R1 XCH A,60H XCH A,@R1 MOV R0,#10H XCHD A,@R0 (A)=______ ,(10H)=______ ,(2EH)=______ ,(40H)=______ ,(60H)=______
- 2 .已知(10H)=5AH,(2EH)=1FH,(40H)=2EH,(60H)=3DH, 执行下列程序段后: MOV 20H , 60H MOV R1 , 20H MOV A , 40H XCH A , R1 XCH A , 60H XCH A , @R1 MOV R0 , #10H XCHD A , @R0 问:( A ) =_____( 10H ) =_____( 2EH ) =_____( 40H ) = _____( 60H ) =_____
- 设A=40H,R1=23H,40H单元内容为05H。执行下列两条指令后,A=______ ,R1=______ ,40H=______ 。 XCH A,R1 XCHD A,@R1
- 如果(A)=42H,(R1)=49H,(49H)=36H,执行指令XCH A, @R1后;结果(A)=,(49H)=。( ) A: 49H 42H B: 42H 36H C: 36H 42H D: 49H 36H
- 如果(A)=45H,(R1)=20H,(20H)=12H,执行XCHD A, @ R1后,结果(A)= ______ H,(20H)= ______ H。