+ All Categories
Home > Documents > - scadec.ac.inscadec.ac.in/upload/file/merged_document_3.pdf · sorted in the memory location...

- scadec.ac.inscadec.ac.in/upload/file/merged_document_3.pdf · sorted in the memory location...

Date post: 15-Mar-2018
Category:
Upload: vuongque
View: 215 times
Download: 2 times
Share this document with a friend
17
www.vidyarthiplus.com www.vidyarthiplus.com
Transcript

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.rejinpaul.com

Reg. No. :

B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2011.

Fourth Semester

Computer Science and Engineering

CS 2252 – MICROPROCESSORS AND MICROCONTROLLERS

(Common to Information Technology)

(Regulation 2008)

Time : Three hours Maximum : 100 marks

Answer ALL questions.

PART A — (10 × 2 = 20 marks)

1. Identify the addressing mode of the following 8085 instruction.

(a) SHLD 2500H

(b) DCR E

2. Name the machine cycles needed to execute the 8085 instruction MVI

B,4FH.

3. What are the general purpose registers in 8086?

4. Give the importance of the assembler directive EVEN.

5. What are the features of closely coupled multiprocessor systems?

6. What do you mean by CCW in an I/O processor?

7. How many address lines and data lines are necessary for accessing 32Kx8

memory?

8. What is DMA?

9. What are the differences between a microprocessor and a microcontroller?

10. How is the selection of particular register bank done in 8051?

Question Paper Code : 55297

421 4

21 4

21

www.vidyarthiplus.com

www.vidyarthiplus.com

55297 2

PART B —(5 × 16 = 80 marks)

11. (a) Explain the Intel 8085 Microprocessor architecture with neat

diagram.

(16)

Or

(b) (i) Discuss the different groups of instruction set of 8085 with

suitable examples. (8)

(ii) Write an 8085 ALP to find the largest number in a array of 10

data. Starting address of the array of data is 4250H. (8)

12. (a) (i) Explain the various addressing modes of 8086 processor with

suitable examples. (10)

(ii) Compare macro and procedure. (6)

Or

(b) (i) Write an 8086 ALP to find the sum of numbers in the array of

12 elements. (8)

(ii) What is BIOS? Discuss the various BIOS function calls. (8)

13. (a) (i) Draw the block diagram of 8087 numeric Data processor and

explain. (10)

(ii) Discuss briefly the data types supported by 8087 Numeric Data

Processor. (6)

Or

(b) (i) Explain the block diagram of 8089 I/O processor. (10)

(ii) Discuss the schemes used to solve the bus arbitration problem

in multiprocessors. (6)

14. (a) Explain the 8251 USART with neat block diagram. Also explain its

mode word, command word and status word. (16)

Or

(b) Describe the block diagram of 8259 Programmable Interrupt

Controller and its priority modes. (16) 421 4

21 4

21

www.vidyarthiplus.com

www.vidyarthiplus.com

55297 3

15. (a) (i) Draw the pin diagram of 8051 microcontroller and explain the

functions of each pin. (10)

(ii) Discuss briefly the various registers in 8051 microcontroller. (6)

Or

(b) (i) Explain the interfacing of 4×4 matrix keyboard to the 8051

microcontroller with neat diagram. (10)

(ii) Briefly write about the IE and IP register in 8051

microcontroller.

(6)

———————––––

421 4

21 4

21

www.vidyarthiplus.com

www.vidyarthiplus.com

B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2010.

Fourth Semester

Computer Science and Engineering

CS2252 - MICROPROCESSORS AND MICRO CONTROLLERS

(Common to Information Technology)

(Regulation 2008)

Time: Three

hours Maximum:100 marks

Answer ALL Questions.

PART A- (10 X 2= 20 marks)

1. Assume that the accumulator contains data types 82H and the instruction MOV

C, A (4FH) is fetched. List the steps in encoding and executing the instruction.

2. What are the second bytes in the instruction IN and OUT of 8085

microprocessor?

3. Draw the 8086 flag register format.

4. List different types of 8086 hardware interrupts.

5. Compare closely coupled configuration with loosely coupled configuration.

6. Mention the need for co- processor in a microprocessor based system.

7. Can an input port and an output port have the same port address? Justify.

8. Why is each channel in DMA controller restricted to 16K bytes of data transfer?

9. With XTAL = 11.0592 MHz, what value should be loaded into TH1 to have

9600 baud rate?

10. How do you select the register bank in 8051 micro-controller?

PART B- (5 X 16 = 80 Marks)

11. (a) (i) Write an 8085 assembly language program with flowchart for the

following: Six bytes are stored in memory locations starting at XX50H. Add all the

data bytes. Use register B to save any carry generated while adding the data bytes.

Store the sum at two consecutive memory locations, XX70H and XX71H. Data

(H): A2, FA, DF, E5, 98, 8B. (8 Marks)

(ii) Write a program to generate a continuous square wave with the period of 500

microseconds. Assume the system clock period is 325ns and use bit D0 to output

the square wave. (8 Marks)

(Or)

(b) (i) Explain the following 8085 instructions with an example JP, JPO, CM, RPE,

DAA, XCHG, SPHL and PCHL. (8 Marks)

www.vidyarthiplus.com

www.vidyarthiplus.com

(ii) Draw the timing diagram for the instruction MVI A, 32h and OUT 01h. (8

Marks)

12. (a) (i) Draw the internal block diagram of 8086 microprocessor and explain. (8

Marks)

(ii) Explain any eight assembler directives of 8086 microprocessor. (8 Marks)

(Or)

(b) (i) Give three examples for the following 8086 microprocessor instructions:

String Instructions, Process Control Instruction, Program Execution Transfer

Instructions and Bit manipulation Instructions. (12 Marks)

(ii)How does one define and call macro parameters of 886 microprocessor? (4

Marks)

13. (a) (i) Draw the internal block diagram of 8087 Co- processor and explain it

with 8087 control word and status word formats. (12 Marks)

(ii) Give two examples for packed decimal data transfers and integer data transfers

of an 8087 co- processor. (4 Marks)

(Or)

(b) Draw the architecture of 8089 I/O co- processor and explain. (16 Marks)

14. (a) Draw the block diagram of 8279 keyboard/ Display controller and explain

hoe to interface the Hex Key pad and 7- segment LEDs using 8279. (16 Marks)

(Or)

(b) (i) Draw the functional block diagram of 8254 timer and explain the different

modes of operation. (8 Marks)

(ii) Draw the block diagram of 8259A and explain how to program 8259A. (8

Marks)

15. (a) (i) Explain the memory structure of an 8051 Micro-controller. (8 Marks)

(ii) How does one interface a 16 X 2 LCD Display using 8051 Micro-controller? (8

Marks)

(Or)

(b) (i) Explain the on- chip timer modes of an 8051 Micro-controller. (8 Marks)

(ii) Explain how interface an 8- bit ADC with 8051 Micro-controller. (8 Marks

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2010

Fourth Semester

Computer Science and Engineering

CS2252 - MICROPROCESSORS AND MICROCONTROLLERS

(Common to Information Technology)

(Regulation 2008)

Time : Three hours Maximum : 100 Marks

Answer ALL questions

PART A - (10X2=20 Marks)

1. Give any two single byte instructions that clear the accumulator register of 8085.

2. List the machine cycles involved in theexecution of the following 8085

instructions: PUSH PSW; MOV A,M.

3. List the pointer and index registers of 8086 architecture.

4. Identify the addressing modes involved in the following 8086 instructions:

MOV AX,0005H; MOV AX,50H [BX][SI].

5. What are the two internal sections of 8087 architecture?

6. What is the role of CCP in 8089 architecture?

7. What are the signals and instructions available in 8085 processor for serial I/O

communication?

8. What signals are required between a 8085 processor and an interrupt controller

for interrupt driven data transfer?

9. What are the functions of the following signals of 8051? ALE/PROG, PSEN.

10. What are the sources of interrupts in 8051?

PART B - (5X16=80 Marks)

11. (a) (i) List and explain the functions of flags in 8085 processor. (8 Marks)

(ii) Write an assembly language program using 8085 instruction set to convert a

string of ASCII characters into its hexadecimal equivalent. (8 Marks)

(Or)

(b) (i) Identify the addressing modes and the number of T- states required for the

following instructionsof 8085: MOV M,A; LXI SP, addr.:LDAX D; ORA B. (8

www.vidyarthiplus.com

www.vidyarthiplus.com

Marks)

(ii) Discuss the features of 8085 processor for the support of interrupts and DMA.

(8 Marks)

12. (i) Explain the register organisation of 8086 processor in detail. (8 Marks)

(ii) Describe the various addressing modes of 8086 processor with suitable

examples for each. (8 Marks)

(Or)

(b) (i) What is the use of interrupts in microprocessor systems? With suitable

examples explain the sequence of operations done by a microprocessor when it is

interrupted. (8 Marks)

(ii) Explain how BIOS function calls are invoked in assembly language programs.

(8 Marks)

13. (a) (i) Explain the exception handling feature of 8087. (8 Marks)

(ii) Write a detailed note on the data types supported by 8087 in detail. (8 Marks)

(Or)

(b) (i) With a neat sketch explain the general interconnections between 8086 and

8089. (10 Marks)

(ii) Distinguish between loosely coupled and closely coupled multiprocessor

systems with suitable examples. (6 Marks)

14. (a) (i) With a neat sketch, show all the interconnections required between a

8085 processor and a RAM of size 4KB mapped in the address range 2000H-

2FFFH. (8 Marks)

(ii) Explain the data transfer on a parallel printer interface using a timing diagram.

(8 Marks)

(Or)

(b) (i) What are the signals a microprocessor should have to support DMA? List

and explain the sequence of operations carried out during a DMA transfer. (8

Marks)

(ii) Explain the four modes of keyboard operation in 8279. (8 Marks)

15. (a) (i) Bring out the features of special function registers of 8051

microcontroller. (8 Marks)

www.vidyarthiplus.com

www.vidyarthiplus.com

(ii) With a neat sketch of a schematic diagram, explain the functions of various

signals of 8051. (8 Marks)

(Or)

(b) (i) Describe the various interrupts and their associated priorities in 8051

microcontroller. (8 Marks)

(ii) Write brief notes on ADCs mid DACs along with their interface details. (8

Marks)

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

www.vidyarthiplus.com

Question Paper Code : 10264

B.E/B.Tech. DEGREE EXAMINATION, MAY/JUNE 2012

Fourth Semester

Computer Science and Engineering

CS 2252/141402/CS 42/EC 1257/10144 CS 403/080250010 –

MICROPROCESSORS AND MICROCONTROLLERS

(Common to Information Technology)

(Regulation 2008)

Time : Three Hours Maximum: 100 marks

Answer ALL questions.

PART A – ( 10 x 2 = 20 marks )

1. How many memory locations can be addressed by 8085 microprocessor?

2. Give an example for direct and indirect addressing modes of 8085.

3. What are called as assembler directives? Give two examples.

4. What is BIOS function call in 8086 µ p?

5. Compare closely coupled configuration features with loosely coupled configuration features.

6. List any four 8087 data formats.

7. Why a latch is used for an O/P port, but a tri-state buffer can be used for an input port?

8. List the six modes of timer.

9. What is the size of the on-chip program memory and on-chip data memory of 8051

microcontroller?

10. List the features of the parallel ports of 8051 microcontroller.

PART B – ( 5 x 16 = 80 marks )

11. (a) (i) Explain the execution of the instruction MVI A, 32h with a timing diagram. (8)

(ii) Write an 8085 Assembly language program to multiply two 8-bit number, which is

www.vidyarthiplus.com

www.vidyarthiplus.com

sorted in the memory location 4500h and 4501h. Store the product in the subsequent

memory locations? (8)

OR

(b) (i) Explain the different addressing modes in 8085 microprocessor. Give two examples for

each addressing mode. (8)(ii) Write an 8085 assembly language program to find the largest 8-bit number

among

the five numbers which are stored in the memory locations 4200h to 4204h.

(8)

12. (a) (i) Draw the architectural block diagram of 8086 microprocessor and explain. (8)

(ii) Explain how to pass parameters to macros?

(8)

OR

(b) (i) Explain the interrupt structure of an 8086 microprocessor with 8086 interrupt-pointer

table. (8)

(ii) Write an 8086 assembly language program to read in 100 samples of data at 1-ms

intervals. (8)

13. (a) (i) Draw the 8087 interval architecture and explain.

(8)

(ii) Give two examples of 8087 data transfer instructions, arithmetic instructions,

processor control instructions and transcendental instructions.

(8)

OR

(b) (i) Draw the architecture of 8089 I/O processor and explain.

(8)

(ii) Explain how I/O processor communicates between the CPU and I/O peripherals with

www.vidyarthiplus.com

www.vidyarthiplus.com

an example.(8)

14. (a) (i) Explain the operating modes of 8255 programmable peripheral interface.

(8)

(ii) Draw the control word format of 8254 programmable interval timer and explain.

(8)

OR

(b) (i) Draw the architectural block diagram of 8259 Programmable interrupt controller and

explain.(8)

(ii) Write a program to make the stepper motor to rotate both clockwise and counter

clock wise direction. (8)

15. (a) (i) Draw the architectural block diagram of 8051 microcontroller and explain.

(8)

(ii) Draw the circuit diagram to interface an LCD with microcontroller and explain how to

display the data using LCD. (8)

OR

(b) (i) Draw the circuit diagram to interface a keyboard with microcontroller and explain how

microcontroller recognizes the key-press.(8)

(ii) Program the on-chip timer in 8051 to be an event counter. Use model and display the

binary count on P1. Set the initial count to be Zero.(8)


Recommended