Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

REG.

NO

MANIPAL INSTITUTE OF TECHNOLOGY


(Constituent Institute of Manipal University)
MANIPAL-576104

IV SEMESTER B.TECH.(COMPUTER SCIENCE AND ENGINEERING) DEGREE


END-SEMESTER EXAMINATION-MAY 2014
SUBJECT: MICROPROCESSORS (CSE-206)
DATE: 13-05-2014
TIME: 3 HOURS MAX.MARKS: 50
Instructions to Candidates
• Note: Answer any FIVE full questions.
1A. Draw the internal block of 8086. In brief, explain the EU and IP.
1B. Using the register values listed below, determine the physical address
of the byte/word read or written in each of the instructions given below.
Also write the addressing mode for each instruction. Solve each
instruction independently. All values provided are in hexadecimal. All
answers must also be provided in hexadecimal.
Register Value Register Value Register Value
BX 4000 DI 2010 CS 3300
BP 8A00 SI 0006 DS 5600
ES 1000 SS 4400 SP 0555
Instructions: (i) SUB [BX+SI], CL
(ii) ADD AX,[BP+10H]
(iii) ADD DL,ES:[DI]
(iv) SUB AX,40H[DI]
1C. In brief, explain the following assembler directives with example.
(i) PROC (ii) LABEL (4+4+(1+1))

2A. Write an assembly language program to count the number of even and
odd numbers in a given array of 10 numbers in the range 0 to 255. Use
two (near type) procedures named EVEN and ODD for counting. Store
even count in BH and odd count in DH registers.
2B. Write any three differences between procedures and macros
2C. Check whether the following are valid or not. Justify your answer
(i) CMPS [SI], ‘$’ (ii) MOV BL,3
ROR AL,BL
2D. With syntax, explain the following string Instructions
(i) CMPSW (ii) SCASB (3+3+(1+1)+(1+1))

CSE 206 Page 1 of 2


3A. (i) Draw the flowchart for initialization of 8259 PIC
(ii) With neat diagram explain 8259 ICW1 and ICW2
3B. For the following function request, specify the purpose and expected
inputs.
(i) INT 21h DOS function request: 3FH, 2AH
(ii) INT 10h BIOS function request: 03H
3C. Draw a neat block diagram for 8254 timer. Explain 8254 mode 3 with a
neat timing diagram. ((1+3)+(2+1)+3)

4A. Draw a neat labelled timing diagram for 8086 minimum mode input
and output operation.
4B. With a neat diagram, explain the methods of parallel data transfer in
8255A.
4C. Write the port C bit set/reset control word format of 8255A and explain
its operational mode 2. (4+4+2)

5A. Write an 8087 program that computes the volume of a Torus which is
given by the formula V= (1/4)π2(r1+r2)(r1-r2)2
5B. Write short notes on USB and ISA bus.
5C. Answer the following
(i) Multi-user operating system
(ii) Multi-tasking operating system
(iii) Show that the maximum memory for a system that is set
up with a page directory having base addresses of 1024
page tables is 4GB. (4+3+(1+1+1))

6A. With necessary diagram, explain how an 80386 computes physical


address when segmentation mode is enabled.
6B. Explain the following features of Pentium processor
(i) Advanced programmable Interrupt Controller(APIC)
(ii) System Management Mode (SMM)
6C. Explain the following addressing modes of 68000 processor with an
example for each
(i) Register indirect with displacement addressing mode
(ii) Address Register Indirect with Post Increment addressing mode
(4+(1.5+1.5)+(1.5+1.5))

CSE 206 Page 2 of 2

You might also like