MICROPROCESSORS

100504
Back to MICROPROCESSORS

Module 3: Instruction Set and Programming

  1. Q1c. JP instruction in 8085 performs branch if: (i) Carry flag is 1 (ii) Parity flag is 1 (iii) Sign flag is 0 (iv) Auxiliary carry flag is 020232m

    Module 3: Instruction Set and Programming

    JP instruction in 8085 performs branch if:
    (i) Carry flag is 1
    (ii) Parity flag is 1
    (iii) Sign flag is 0
    (iv) Auxiliary carry flag is 0

    View this question on its own page →
  2. Q1d. What can be the oscillator period for the multiplication operation of A and B in accordance to 16-bit product especially in B : A registers? (i) 12 (ii) 24 (iii) 36 (iv) 4820212m

    Module 3: Instruction Set and Programming

    What can be the oscillator period for the multiplication operation of A and B in accordance to 16-bit product especially in B : A registers?
    (i) 12
    (ii) 24
    (iii) 36
    (iv) 48

    View this question on its own page →
  3. Q1d. The instruction to copy the content of a memory location using a register indirect addressing mode is? (i) STAX (ii) LDAX (iii) LDA (iv) None of the above20232m

    Module 3: Instruction Set and Programming

    The instruction to copy the content of a memory location using a register indirect addressing mode is?
    (i) STAX
    (ii) LDAX
    (iii) LDA
    (iv) None of the above

    View this question on its own page →
  4. Q1d. What can be the oscillator period for the multiplication operation of A and B in accordance to 16-bit product especially in B:A registers? (i) 12 (ii) 24 (iii) 36 (iv) 4820222m

    Module 3: Instruction Set and Programming

    What can be the oscillator period for the multiplication operation of A and B in accordance to 16-bit product especially in B:A registers?
    (i) 12
    (ii) 24
    (iii) 36
    (iv) 48

    View this question on its own page →
  5. Q1e. Which among the single operand instructions complements the accumulator without affecting any of the flags? (i) CLR (ii) SETB (iii) CPL (iv) All of the above20202m

    Module 3: Instruction Set and Programming

    Which among the single operand instructions complements the accumulator without affecting any of the flags?
    (i) CLR
    (ii) SETB
    (iii) CPL
    (iv) All of the above

    View this question on its own page →
  6. Q1e. What is the possible range of transfer control for 8-bit relative address especially in 2's complement form with respect to the first byte of preceding instruction? (i) -115 to 132 bytes (ii) -130 to 132 bytes (iii) -128 to 127 bytes (iv) -115 to 127 bytes20212m

    Module 3: Instruction Set and Programming

    What is the possible range of transfer control for 8-bit relative address especially in 2's complement form with respect to the first byte of preceding instruction?
    (i) -115 to 132 bytes
    (ii) -130 to 132 bytes
    (iii) -128 to 127 bytes
    (iv) -115 to 127 bytes

    View this question on its own page →
  7. Q1e. JNC stands for: (i) Jump if no carry, jumps if CY=0 (ii) Jump if carry, jumps if CY=1 (iii) Jump if no carry, jumps if CY=1 (iv) Jump if carry, jumps if CY=020222m

    Module 3: Instruction Set and Programming

    JNC stands for:
    (i) Jump if no carry, jumps if CY=0
    (ii) Jump if carry, jumps if CY=1
    (iii) Jump if no carry, jumps if CY=1
    (iv) Jump if carry, jumps if CY=0

    View this question on its own page →
  8. Q1e. Which of the following statement is true for the instruction PUSH B? (i) It is an arithmetic instruction (ii) Executes in single machine cycle (iii) It reads from memory location (iv) It performs memory write operation20232m

    Module 3: Instruction Set and Programming

    Which of the following statement is true for the instruction PUSH B?
    (i) It is an arithmetic instruction
    (ii) Executes in single machine cycle
    (iii) It reads from memory location
    (iv) It performs memory write operation

    View this question on its own page →
  9. Q1e. Indexed addressing mode is mainly used for (i) Arrays (ii) Arithmetic (iii) Stack (iv) Logic20252m

    Module 3: Instruction Set and Programming

    Indexed addressing mode is mainly used for

    (i) Arrays
    (ii) Arithmetic
    (iii) Stack
    (iv) Logic

    View this question on its own page →
  10. Q1f. PUSH and POP instructions are used to ____ and ____ respectively. (i) Send the data from the stack, copy the data to the stack (ii) Send the data to the stack, copy the data from the stack (iii) All of the above (iv) None of the above20222m

    Module 3: Instruction Set and Programming

    PUSH and POP instructions are used to ____ and ____ respectively.
    (i) Send the data from the stack, copy the data to the stack
    (ii) Send the data to the stack, copy the data from the stack
    (iii) All of the above
    (iv) None of the above

    View this question on its own page →
  11. Q1g. Which instruction decrements and jumps if not zero? (i) DJNZ (ii) AJMP (iii) CJNE (iv) NOP20252m

    Module 3: Instruction Set and Programming

    Which instruction decrements and jumps if not zero?

    (i) DJNZ
    (ii) AJMP
    (iii) CJNE
    (iv) NOP

    View this question on its own page →
  12. Q1i. The system program used to translate directly an assembly language to machine language is called: (i) Compiler (ii) Assembler (iii) Text editor (iv) Debugger20222m

    Module 3: Instruction Set and Programming

    The system program used to translate directly an assembly language to machine language is called:
    (i) Compiler
    (ii) Assembler
    (iii) Text editor
    (iv) Debugger

    View this question on its own page →
  13. Q3a. Write a program that converts odd parity bytes to even parity bytes (bit 7 is the parity bit).20217m

    Module 3: Instruction Set and Programming

    Write a program that converts odd parity bytes to even parity bytes (bit 7 is the parity bit).

    View this question on its own page →
  14. Q3a. Explain the indexed addressing and relative addressing in 8051 micro-controller.20227m

    Module 3: Instruction Set and Programming

    Explain the indexed addressing and relative addressing in 8051 micro-controller.

    View this question on its own page →
  15. Q3b. Explain the various programming and debugging tools in 8051 micro-controller.20227m

    Module 3: Instruction Set and Programming

    Explain the various programming and debugging tools in 8051 micro-controller.

    View this question on its own page →
  16. Q3b. What are the different program development tools used in microprocessor and microcontrollers?20237m

    Module 3: Instruction Set and Programming

    What are the different program development tools used in microprocessor and microcontrollers?

    View this question on its own page →
  17. Q4. Show the results of the following: (i) ``assembly MOV A, #35H ANL A, 0FH ` (ii) `assembly MOV A, #04H ORL A, 03H ` (iii) `assembly MOV A, #54H XRL A, A ` (iv) `assembly CLR C MOV A, #26H RRC A ``202214m

    Module 3: Instruction Set and Programming

    Show the results of the following:

    (i)

    MOV A, #35H
    ANL A, 0FH
    

    (ii)

    MOV A, #04H
    ORL A, 03H
    

    (iii)

    MOV A, #54H
    XRL A, A
    

    (iv)

    CLR C
    MOV A, #26H
    RRC A
    
    View this question on its own page →
  18. Q4a. What are the different addressing modes used in microprocessor? Explain with suitable instruction examples.20237m

    Module 3: Instruction Set and Programming

    What are the different addressing modes used in microprocessor? Explain with suitable instruction examples.

    View this question on its own page →
  19. Q4b. What are the different instruction types supported in 8085 microprocessor? Explain with suitable instruction examples.20237m

    Module 3: Instruction Set and Programming

    What are the different instruction types supported in 8085 microprocessor? Explain with suitable instruction examples.

    View this question on its own page →
  20. Q4b. Discuss the data transfer and arithmetic instructions of the 8051.20257m

    Module 3: Instruction Set and Programming

    Discuss the data transfer and arithmetic instructions of the 8051.

    View this question on its own page →
  21. Q5a. Write a program to find the largest number in an array using 8051 assembly language.20257m

    Module 3: Instruction Set and Programming

    Write a program to find the largest number in an array using 8051 assembly language.

    View this question on its own page →
  22. Q5b. What is Subroutine? Explain the execution of Subroutine function.20227m

    Module 3: Instruction Set and Programming

    What is Subroutine? Explain the execution of Subroutine function.

    View this question on its own page →
  23. Q5b. Explain Different Addressing Modes of 8051 Microcontroller.20257m

    Module 3: Instruction Set and Programming

    Explain Different Addressing Modes of 8051 Microcontroller.

    View this question on its own page →
  24. Q6a. Explain subroutine instructions and stack operations in 8051.20257m

    Module 3: Instruction Set and Programming

    Explain subroutine instructions and stack operations in 8051.

    View this question on its own page →
  25. Q7a. Explain in detail about the addressing modes of 8051. Use example instructions for proper explanation.20227m

    Module 3: Instruction Set and Programming

    Explain in detail about the addressing modes of 8051. Use example instructions for proper explanation.

    View this question on its own page →
  26. Q7a. What are the branching instructions in 8051? Explain with suitable examples.20237m

    Module 3: Instruction Set and Programming

    What are the branching instructions in 8051? Explain with suitable examples.

    View this question on its own page →
  27. Q7b. Explain the following instructions: (i) CJNE (ii) DJNZ20237m

    Module 3: Instruction Set and Programming

    Explain the following instructions:
    (i) CJNE
    (ii) DJNZ

    View this question on its own page →
  28. Q7b. Define subroutine. Explain the execution of subroutine function.20247m

    Module 3: Instruction Set and Programming

    Define subroutine. Explain the execution of subroutine function.

    View this question on its own page →
  29. Q8a. Explain the register addressing mode and direct addressing mode in 8051.20208m

    Module 3: Instruction Set and Programming

    Explain the register addressing mode and direct addressing mode in 8051.

    View this question on its own page →
  30. Q8a. Define "OPCODE" and "OPERAND" with example. What do you understand by instruction set. Write the 3 categories of data transfer instructions.20227m

    Module 3: Instruction Set and Programming

    Define "OPCODE" and "OPERAND" with example. What do you understand by instruction set. Write the 3 categories of data transfer instructions.

    View this question on its own page →
  31. Q8b. Explain the data transfer instructions and arithmetic instructions with few examples.20206m

    Module 3: Instruction Set and Programming

    Explain the data transfer instructions and arithmetic instructions with few examples.

    View this question on its own page →
  32. Q9d. Write short notes on: Various addressing modes of 8051 microcontroller20247m

    Module 3: Instruction Set and Programming

    Write short notes on: Various addressing modes of 8051 microcontroller

    View this question on its own page →