Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

) can be used with register indirect (MOV @Rx, A) B R7 only C RO and R1 D. R6 an

ID: 3602245 • Letter: #

Question

) can be used with register indirect (MOV @Rx, A) B R7 only C RO and R1 D. R6 and R7 14. What is the final result in the accumulator following the execution of the following progran MOVA,#39H ANL A, #0FH A 39H B. OFH C.O9H D. 3FH 15 Relative addressing is limited to a get range of A. 0 to 255 B. 0 to 127 C.-128 to +127 D.-255 to +255 16, The stack is a secton of A. Flash B. RAM C. UV-EPROM D. EEPROM 17. What is the condition for which the JZ instruction jumps to the target address? A. If the accumulator contents 1 B. If the accumulator contents C. If the accumulator contents > 1 D. If the accumulator contents 18. Which of the following best describes a subroutine? A A set of instructions that can be called more than once by the program B A set of instructions that can only be called once by the program C. A set of instructions that substitute alhernate functions D. A set of instructions located at a foxed block of memory 19. What is the final result in the accumulator following the execution of the following p MOV A, #0eH ORLA #OH

Explanation / Answer

13. Answer- (C) R0 and R1

14. Answer - (C) 09H

39H = 0011 1001

OFH = 0000 1111 ANL do bitwise (1,1=1 1,0=0 0,1=1 0,0=0)

----------------

0000 1001 =09H   

----------------

15. Answer- (C)

16. Answer - (B)

17. Answer - (B)

18. Answer - (A)

19. Answer of the instruction is 39H. ORL does bitwise OR(1,0=1 0,1=1 1,1=1 0,0=0)

09H = 0000 1001  
30H = 0011 0000
--------------------
00111001 =39H
--------------------