执行以下指令后,(SP) =____,(A)=____,(B)=____。[br][/br]MOV SP,#70H[br][/br]MOV A,#60H[br][/br]MOV B,#0F8H[br][/br]PUSH ACC [br][/br]PUSH B[br][/br]POP ACC[br][/br]POP B
举一反三
- 执行下列指令后:(A)=____[br][/br] MOV 40H, #30H[br][/br] MOV R0, #40H[br][/br] MOV A,@R0
- 下列指令中格式正确的是 ( )。 A: POP<br/>DS B: MUL<br/>30H C: MOV<br/>AX, [BX][BP] D: PUSH<br/>AH
- 执行下列程序后,(R1)=____,(A)=____。[br][/br]NEXT:[br][/br] MOV R0,#00H[br][/br] MOV A,R0[br][/br] JZ LOOP[br][/br] MOV R1,#0FFH[br][/br] RET[br][/br]LOOP:MOV R1,#05H[br][/br] RET
- {[br][/br]试分析如下程序并说明其实现的主要功能(将每一步指令执行结果写出)。[br][/br]MOV A,#34H[br][/br]ADD A,#0E7H[br][/br]MOV 40H,A [br][/br]MOV A,#12H[br][/br]ADDC A,#0FH[br][/br]MOV 41H,A[br][/br]}[br][/br]{
- Consider<br/>the following operations performed on a stack of size 5 : Push ();<br/>Pop() ; Push(); Push(); Pop(); Push(); Pop();Pop(); Push () Which<br/>of the following statements is correct? () A: Underflow<br/>occurs B: Stack<br/>operations are performed smoothly C: Overflow<br/>occurs D: None<br/>of the above