WordPress.com



VISVODAYA TECHNICAL ACADEMY: KAVALI

III B.Tech. II Sem ECE (R15) Batch: 2015 Academic Year: 2017-18 (II Sem)

Subject : MICROPROCESSORS & MICROCONTROLLERS

________________________________________________________________________

Two Marks Questions

1. (a) Mention the general purpose & segment registers of 8086

(b) Calculate the offset address & 20-bit physical address if CS:IP =1234:5678 H

(c) List out the Minimum mode signals of 8086?

(d) Explain the 8086 instructions: DAA, DAS

(e) Give the difference between Near & Far procedures?

2. (a) What are the functions of SI and DI registers of 8086?

(b) List out the features of 8086 microprocessor

(c) List out the Maximum mode signals of 8086?

(d) Explain the 8086 instructions: AAA, AAS

(e) Give the differences between Procedures & Macros

3. (a) Write any two advantages of memory segmentation?

(b) Define Machine cycle and Instruction cycles.

(c) Write any two advantages of memory segmentation?

(d) Explain the 8086 instructions: TEST, WAIT

(e) Explain CBW and CWD instructions.

4. (a) Why the 8086 memory system is divided into 2-banks?

(b) What is the use of DF in string operations?

(c) Explain how the pipelining is implemented in 8086?

(d) List various addressing modes of 8086

(e) Explain the relative based addressing mode with an example?

UNIT-I : 8086 ARCHITECTURE

1. (a) Write the features of 8086 microprocessor?

(b) Draw the architecture of 8086 microprocessor and explain.

2. (a) What is memory segmentation and write its advantages & disadvantages

(b) Give the bit representation of Flag register in 8086 and explain each flag.

3. (a) Explain the physical memory organization in 8086 system.

(b) Give the pin configuration of 8086 and explain.

4. Explain the minimum mode operation of 8086 system with neat diagrams?

5. Explain the maximum mode operation of 8086 system with neat diagrams?

6. (a) What are the different types of interrupts used in 8086? Explain.

(b) What is interrupt vector table? Explain how the processor calculates the vector address of an interrupt?

UNIT-II INSTRUCTION SET & ALP OF 8086

1. Explain the addressing modes of 8086 microprocessor and discuss each mode with an example

2. (a) Explain Logic & Bit manipulation instructions of 8086?

(b) Write an 8086 ALP to find the largest number in given array of N-numbers

3. (a) Explain the string manipulation instructions an example

(b) Write an 8086 assembly language program to move a string of length of 8-bytes

from ‘OLD_HOME’ to ‘NEW_HOME’

4. (a) Explain the assembler directives of 8086 microprocessor?

(b) Write an 8086 assembly language program to generate Fibonacci series

5. Explain the following 8086 instructions with an example

(a) LAHF (b) TEST (c) CMP (d) LODS (e) DIV

6. Write a program to find the number of positive numbers and negative numbers in a given series of signed numbers using 8086.

UNIT-I : 8086 ARCHITECTURE

1. The no. of external data pins and address pins in 8086 processor are

(A) 8, 16 (B) 16, 8 (C) 16, 20 (D) 20, 16

2. The Intel 8086 can address _________ bytes of memory.

(A) 64 KB (B) 20 KB (C) 1024 KB (D) None

3. The use of Instruction Queue in 8086 is ____

(A) to implement the pipelining (C) to store the data

(B) to store the address (D) as a stack memory

4. In 8086 the size of the instruction queue

(A) 10 bytes (B) 8 bytes (C) 4 bytes (D) 6 bytes

5. The size of the segment register is ________

(A) 16-bit (B) 16-byte (C) 64-bit (D) 64-bytes

6. The segment registers are used to hold the

(A) upper 16-bits of the starting address of Memory segment

(B) lower 16-bits of the starting address of Memory segment

(C) 20-bit physical address

(D) Offset address of the operand

7. The IP register in 8086 is used to store the_______

(A) offset address in code segment (C) physical address in code segment

(B) Interrupt address in data segment (D) none of the above

8. The size of the each memory segment of 8086 is

(A) 16-bits (B) 16 KB (C) 64-bits (D) 64 KB

9. If CS= 1234H and IP= 5678H then, the 20-bit address calculated by BIU of 8086 is

(A) 12345678H (B) 179B8 H (C) 68AC H (D) 6912 H

10. Which of the following is incorrect w.r.to DX register of 8086?

(A) called as extended Accumulator (C) used in I/O port addressing

(B) used to store the results of MUL (D) None of the above

11. The CX register of 8086 is ____

(A) used in LOOP instructions (C) used in String instructions

(B) used as Counter (D) all the above

12. Which of the following register is not used to store the offset address of data

(A) AX (B) BX (C) SI (D) DI

13. Which of the following register is not present in Execution Unit of the 8086

(A) SI (B) SP (C) IP (D) BP

14. The size of the flag register in 8086 is

(A) 10-bit (B) 8-bit (C) 20-bit (D) 16-bit

15. The flag used for controlling interrupts is

(A) DF (B) CF (C) IF (D) AF

16. 8086 can address _______ number of I/O ports

(A) 28 (B) 216 (C) 210 (D) 26

17. Which registers of 8086 are used in string operations?

(A) SP & BP (B) SI & DI (C) PC & SP D) CS & IP

18. Which flag is used in string manipulation?

(A) AF (B) SF (C) DF (D) TF

19. If the directional flag DF is ‘0’, then the contents of SI and DI registers are

(A) incremented (B) decremented (C) either A or B (D) unchanged

20. The number of pins which 8086 has________

(A) 8 (B) 16 (C) 20 (D) 40

21. Why the physical memory of 8086 is organized in two banks?

(A) to access 16-bit numbers (C) for memory segmentation

(B) for data & code protection (D) all the above

22. The min. Mode system of 8086 consists of

(A) Bus controller (B) more than one MPU (C) TEST pin (D) none

23. In Maximum mode, the signal at pin MN / [pic] is at ___

(A) Logic 0 (B) Logic 1 (C) Logic 2 (D) None

24. Choose the minimum mode pin in 8086

(A) [pic] (B) TEST (C) DEN (D)[pic]

25. The IC 8286 is __________

(A) Clock generator (B) Latch (C) Data Buffers (D) Bus controller

26. The interrupt vector address for Type 04 interrupt is

(A) 32 H (B) 20H (C) 10 H (D) 16 H

27. The user interrupts are available from

(A) Type 00 to Type 04 (C) Type 05 to Type 31

(B) Type 32 to Type 255 (D) None of the above

28. The size of the interrupt vector is

(A) 4-bytes (B) 8-bytes (C) 16-bytes (D) 1024-bytes

29. The size of the interrupt vector table is

(A) 4-bytes (B) 8-bytes (C) 16-bytes (D) 1024-bytes

30. The no. of T-states in Opcode fetch machine cycle of 8086 are ___

(A) 4 (B) 8 (C) 3 (D) 6

UNIT-II : INSTRUCTION SET & ALP OF 8086

1. Which of the following is not a data transfer instruction?

(A) PUSH BX (B) LES BX,5000H (C) LAHF (D) TEST AX,BX

2. Which of the following is not a valid instruction?

(A) MOV AX,[SI] (B) MOV DS,AX (C) MOV DS,1234H (D) MOV SI,1234H

3. The TEST AX, BX instruction performs ________ operation

(A) Subtraction (B) Comparison (C) logic AND (D) Logic OR

4. Which of the following instruction is used to find the 1’s complement of given number?

(A) NOT AX (B) NEG AX (C) SHR AX,1 (D) SHL AX,1

5. Which of the following instruction is used to find the 2’s complement of given number?

(A) SHR AX,1 (B) SHL AX,1 (C) NEG AX (D) NOT AX

6. The function of CWD instruction is

(A) Compares word and double word (B) Compares word with accumulator

(C) Converts word to double word (D) None of the above

7. Before execution, AX=1234H. After the execution of ROR AL,1

(A) AX= 1234H (B) AX=2468H (C) AX=091A (D) None

8. During the execution of Near CALL instruction,

(A) Only IP is changed (B) Only CS is changed

(C) Both IP & CS will be changed (D) None

9. The condition for JBE instruction to take the Jump is

(A) CF =0 & ZF=0 (B) CF=1 & ZF=1 (C) CF =0 (or) ZF=1 (C) CF=1 (or) ZF=1

10. LOOPNE instruction is used to

(A) Repeat the group of instructions while CX≠ 0 & ZF =0

(B) Repeat the group of instructions while CX≠ 0 & ZF =1

(C) Repeat the group of instructions while CX= 0 & ZF ≠1

(D) Repeat the group of instructions while CX= 0 & ZF ≠1

11. If the data is available in the instruction itself, it is called as ______ addressing mode

(A) Direct (B) Register (C) Immediate (D) Indirect

12. In which addressing mode, the effective address if the sum of the contents of base register and signed displacement

(A) Based (B) Indexed (C) Relative based (D) Relative indexed

13. Which register is used to store the address of I/O port?

(A) BX (B) DX (C) DI (D) BP

14. ___________ directive is used to declare a double word type variable.

(A) DB (B) DW (C) DD (D) DQ

15. ________directive is used to access the public variables from any code segment.

(A) EVEN (B) ODD (C) EXTRN (D) ORG

16. ________directive is used to change the memory location counter value.

(A) EXTRN (B) PUBLIC (C) ORG (D) ODD

17. The advantage of Macro compared to Procedure is ________________

(A) Execution time is less (B) Program length decreases

(C) It uses Stack memory (D) All the above

18. The function of SCASB instruction is

(A) to compare a string byte stored in AL with a byte stored in DS:[SI]

(B) to compare a string byte stored in AL with a byte stored in ES:[DI]

(C) to compare a string byte stored in AL with a byte stored in DS:[DI]

(D) to compare a string byte stored in AL with a byte stored in ES:[SI]

19. _________directive is used to determine the no. of elements in a data item.

(A) SIZE (B) LENGTH (C) TYPE (D) OFFSET

20. Let DS=1000H, ES=2000H, SI=3000H, DI=4000H.

After the execution of LEA BX, 3000H [DI], The content of BX is

(A) 3000H (B) 4000H (C) 6000H (D) 7000H

21.The results of multiplication and division operations of two 16 bit numbers are stored in which register pair.

(A) AXDX (B) DXAX (C) AXBX (D) CXDX

22. In which addressing mode the register contains the address of the data

(A) Direct (B) Register (C) Immediate (D) Indirect

23. Which register stores the offset addresses in code segment

(A) SP (B) BP (C) IP (D) SI

24. Which of the following pin is used in the interfacing of a slow peripheral device

(A) TRAP (B) RESET (C) HOLD (D) READY

25. Which is used to store critical pieces of data during subroutines and interrupts :         

(A) Accumulator (B) Stack   (C) Queue             (D) Flag Register

26. The method of specifying data to be operated by an instruction is called as

(A) opcode (B)operand (C)instruction (D)addressing mode

27. The DMA control signals used in 8085 are

(A) HOLD & HLDA (B) INTR & INTA (C) Ready (D) TRAP

28. The minimum no. of address lines required to address 256 KB of memory are

(A) 8 (B) 16 (C) 18 (D) 20

29. The time required for the microprocessor to perform a basic operation is called as__

(A) T-state (B) machine cycle (C) instruction cycle (D) Clock period

30. Which signal is used in the demultiplexing of address / data lines

(A) ALE (B) READY (C) RESET (D) HOLD

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download