Professional Documents
Culture Documents
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
1.
2.
3.
4.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
Why 8086 microprocessor takes 2 machine cycle to access odd address and 1 machine cycle for even
address?
Write short notes on stack segment register and stack pointer.
Draw the 8086 read bus cycle and discuss the flow of signals.
Draw the 8086 write bus cycle and discuss the flow of signals
Unit-II
(a) Explain the following string instructions.
1. SCASB, STOSW
2.REPE, LOOPE 3.JNP, JNS
(b) Explain the function of the programmable registers of 8086.
(a)Explain the Branch instruction and Conditional Branch instruction.
(b) Write a sorting program for Ten numbers in the ascending order.
Discuss about various type of jump instruction used in 8086 microprocessor
(a)Explain the operation performed by CALL instruction in 8086 microprocessor
(b)Explain the difference between CALL and JUMP instruction what does the processor do in
executing it?
Explain why the 8086 has both signed and unsigned versions of their multiply and divide instructions,
but not of their add and subtract instructions with these given example programs for
1. signed arithmetic and
2.unsigned arithmetic by assuming suitable data of length 8-bit
covering carry/borrow, no carry/no borrow, overflow and underflow.
Write an ALP to convert four digit hexadecimal number to decimal number
(a)Explain the process of converting ASCII to binary
(b)Explain the function of linker
(a)Explain the structures of macro with the help of example
(b)Explain the comparison between procedure and macro
(a)Explain the operation performed by the following instructions of 8086.
1. CWD 2.IDIV
3.CMPSB
4.AAM
5.JCXZ
(b)How parameters are passed into macros
Explain the different data transfer instructions in the 8086 giving examples for each.
Describe the operation that an 8086 will perform when it executes each of the following
instructions:
(a)MOV BX,03FFH (b) MOV AL,0DBH (c) MOV DH,CL (d) MOVBX,AX
Write the different steps performed by the 8086 when it executes the instructions PUSH CX and
PUSH [SI].
(a) Write an algorithm to convert BCD to Binary numbers.
(b) Write 8086 assembly program to convert two digit BCD number to hexadecimal
Number
Write an algorithm and assembly program to sort the numbers in an array in descending order using
bubble sort method
What is the difference between the MUL and IMUL instructions in the 8086?
Write an 8086 assembly language program to check whether the two strings , one stored from the
address 2000H:1000H in the data segment and the other stored from the address 2000H:3000H, are
equal or not. If they are equal , store the value 00H in AL. Otherwise, store the value 01H in AL.
(a)What are the loop instructions of 8086? Explain the use of DF flag in the execution of
string instructions.
(b) Write an ALP in 8086 to display the string WELCOME on the screen.
What is a procedure? Give an example to declare a procedure as near. Make this procedure as
PUBLIC procedure.
What are assembler directives and explain the following assembler directives
i) ASSUME (ii) SEGMENT (iii) DB (iv) PUBLIC
Mention the groups in which the instruction set of 8086 can be categorised.
Explain the following instruction with example LAHF, SAHF, AAA, SBB, AAS
Explain EQU, DW,DQ, DD and DT assembler directives
List and explain different types of data transfer instruction in 8086
Writ an ALP to add 5 BCD numbers and store it in location S1 and S2
Unit-III
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
1.
2.
3.
4.
5.
mode
Explain in detail about software interrupt application
(a)Explain in detail about priority interrupt controller 8259
(b) What do you mean by interrupt overflow
What is DMA data transfer? Explain its implementation using programmable DMA controller 8257 in
a 8086 system
(a)Describe the use of CAS0,CAS1and CAS2 lines in a system with a cascaded 8259A
(b)What is the necessity to send EOI (End of Interrupt) to8259A at some time in interrupt service
routine?
Explain in detail about 8086 maximum mode read and write operations with timing waveforms
Draw and explain the timing diagram of a DMA operation
(a)Explain in detail about dynamic RAM interfacing with 8086
(b)Draw the DRAM read and write timing diagrams
a) 8086 interrupts are classified as hardware and software interrupts. Give reasons for
why single step interrupt is having lower priority?
b) In handling the interrupts, illustrate the purpose of IF flag?
Briefly describe the condition(s) which cause the 8086 to perform each of the following types of
interrupts: type 0, type 1, type 2, type 3, type 4.
(a)Describe the main use of the 8086 type 1 interrupt.
(b)Show the assembly language instructions necessary to set the 8086 trap flag.
Explain the following terms with reference to 8259: (a) END of interrupt (b) Automatic rotation (c)
poll command (d) Read register command.
Show the sequence of command words and instructions that you would used to initialize an 8259A
with a base address of FF10H as follows: edge- triggered; only one 8259A; 8086 system; interrupt
type 40 corresponds to IR0 input; normal EOI; non buffered mode, not special fully nested mode; IR1
and IR3 unmasked.
(a) Show and explain how a typical DMA controller can be interfaced to an 8086 based
Maximum mode system.
(b) Distinguish between maximum and minimum modes of operations of 8086 with
timing diagrams
Describe the series of actions that a DMA controller will perform after it receives a request from a
peripheral device to transfer data from the peripheral device to memory.
a) with respect to 8254, illustrate the operational description of write, read operations
and features of 8254 along with its block diagram
b) Justify how control word controls all the operational modes of 8254?
a) Illustrate the operational modes of 8259 PIC along with its block diagram.
b) Compare and contrast between maskable and non maskable interrupts.
Draw the block diagram of 8259A priority interrupt controller.
Discuss the various modes of operation of 8254.
Explain the need of DMA. Discuss in detail about DMA data transfer methods.
Discuss about interrupt priorities in 8259.
How many Initialization Command words are required for a single 8259 in an 8086 based system?
Explain their format.
Write the block diagram of 8254.
What are the different steps executed when an interrupt occurs?
Unit-V
(a)Draw the flow chart showing how synchronous serial data can be sent from a port line using
software routine
(b)Discuss the data transmission standards and their specifications
Write a program sequence which utilizes the mode register and gives a command to enable the
transmitter and begin an asynchronous transmission of 7-bit characters followed by an even parity
bit and 2 stop bits. Explain the program
(a)A terminal is transmitting asynchronous serial data at 2400bd. What is the bit time? assuming
7data bits, a parity bit and 1 stop bit how long does it take to transmit one character?
(b) Explain about line driver and line receiver used in serial communication
(a)Explain the interfacing of 8251 with 8086 with necessary circuit diagram
(b) Write the sequence of events for 8251 initialization with necessary instructions.
Explain in detail the sequence of steps involved in transferring the data using the general-purpose
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
interface bus.
(a)Draw the circuit of TTL to RS232 and explain the necessity of this interface.
(b)Discuss the data transmission standards and their specifications
(a)Explain with diagram about the flag register in 80286
(b) Explain in detail about processing units and its function in an 80286
Explain in detail about the different data types supported by 80386.
(a) What do you mean by descriptor table?
(b)Explain briefly about different descriptors supported by 80386 with neat diagrams.
State the advantages and disadvantage of paging mechanism in 80386.
(a) Write the sequence of events for 8251 initialization with necessary 8086 instructions.
(b) Draw and explain the block diagram of 8251.
(a) Show the bit pattern for the mode word and the command word that must be sent
to an 8251A to initialize the device as follows: baud rate factor of 64,
7 bits/character, even parity, 1 stop bit, transmit interrupt enabled, receive interrupt
enabled,
and
asserted, Error flags reset, no hunt mode, no break
character.
(b) Show the sequence of instructions required to initialize an 8251A at addresses 80H
and 81H with the mode and command words worked out in question a.
(a) Describe the problem that occurs when you attempt to connect together two
RS-232C devices that are both configured as DTE.
(b) Draw a diagram which shows how this problem can be solved.
(a) List the four major processing units in an 80286 microprocessor and briefly describe
the function of each.
(b) Describe how the real-mode operation of an 80286 is different from protected-mode
operation.
(a)List three major advances that the 80386 microprocessor has over the 80286.
(b)What is the main difference between the 386DX processor and 386SX processor
(a)Explain how a 386 computes a physical address when its paging mode is enabled.
(b)What is the advantage of paged-based virtual memory over segments only based
virtual memory ?
Explain the functions of the following pins of 80386
HLDA, BUSY, NA, D/C, ADS
(a) Show the computations which tell how much virtual memory a 386 can address.
(b) How much virtual memory can a 386 address in real mode and protected mode.
(a) How is a 386 switched into virtual 8086 mode during a task switch?
(b) Briefly describe the response of the virtual machine monitor when a real-mode 8086
program executes an INT 21H instruction.
Discuss about various mode of operation of 80386.
Describe the operation of 80386 memory management unit and paging unit.
Write short notes on USART.
Explain in detail the RS 232C interface.
Give the status register of 8251 and explain.
Write short notes on RS423 bus.
Explain about line drive and line receiver used in serial communication.
Discuss the types of serial communication.