Code No: RR310501 Set No. 1 1. (a) If an absolute address of the type 6A3D9H is given, express it in the form of CS : IP and explain what are the advantages of the memory segmentation. Discuss about the various segment registers in 8086. (b) What are the modes in which the 8086 can be used.how many lines are there in the multiplexed bus of 8086. Give the pin diagram separately for each mode of operation. [8+8] 2. (a) Develop an 8086 assembly language program that performs multiplication by shift and add method. (b) Develop an 8086 assembly language program that displays the largest of N signed numbers. [8+8] 3. (a) Write short notes on the following string data transfer instructions : i. LODS ii. STOS iii. MOVS (b) Explain what the REPE prefix does when coupled with the SCASB instruction? [12+4] 4. (a) What is the mode and I/O configuration for ports A,B and C of an 8255 after its control register is loaded with 82H. (b) What control word must be written in to the control register of the 8255 so that Port A is configured for bidirectional operation and port B is set up with mode 1 outputs (c) In a maximum mode system, which device produces the input, output and bus control Signals for the I/O interface. [6+6+4] 5. (a) Explain the functions of the following signals of 8257 i. IOR ii. IOW iii. HRQ iv. MARK v. MEMR vi. MEMW 1 of 2
Code No: RR310501 Set No. 1 vii. TC viii. AEN (b) Explain the programming of channel prioriteis and auto load feature of 8275 DMA controller. [8+8] 6. (a) Design a circuit to activate a actuator, based on a bit combination given by eight switches interfaced to a microprocessor (b) Design a interface circuit to feed numbers 0-9 through a linearly encoded switches and to display the number on a seven segment LED through a microprocessor [8+8] 7. Explain with a block diagram how a floppy disk drive is interfaced to the microprocessor and explain the various control signals. [16] 8. (a) A terminal is transmitting asynchronous serial data at 1200 Bd. What is the bit time? Assuming 8 data bits, a parity bit and 1 stop bit, How long does it take to transmit one character? (b) Draw the flow chart showing how asynchronous serial data can be sent from a port line using a software routine. (c) Why are the two ground pins on an RS-232C connector not just jumpered together? [7+7+2] 2 of 2
Code No: RR310501 Set No. 2 1. (a) If an absolute address of the type 6A3D9H is given, express it in the form of CS : IP and explain what are the advantages of the memory segmentation. Discuss about the various segment registers in 8086. (b) What are the modes in which the 8086 can be used.how many lines are there in the multiplexed bus of 8086. Give the pin diagram separately for each mode of operation. [8+8] 2. (a) What does the PUBLIC directive indicate when placed in a program module? (b) What does the EXTRN directive indicate when placed in a program module? (c) Explain how a library file works when it is linked to other files by the linker program? [4+4+8] 3. (a) What is a procedure? How is a procedure identified as near or far? (b) Explain how the near and far CALL instructions function. [6+10] 4. (a) Draw a typical key board interface with 8255 and write the program to detect the key clouser (b) Interface 8255 with 8086 so as to have port A address 00, port B address 02, port C address 02 and CWR address 03 with a suitable diagram. [8+8] 5. (a) Explain initialization sequence of 8259 (b) What I/O addresses are assigned to the registers of the DMA controller? And to the DMA Page register (c) Overview the DMA request / acknowledge handshake sequence? and what is the function Of the DMA page register [4+6+6] 6. Explain how eight ON/OFF switches can be interfaced with a microprocessor using 8255 port. Give the hardware and software for it. [16] 7. Draw a block diagram for implementing a data acquisition system of 16 channels and explain its functioning [16] 8. (a) Describe the functions of the DSR, DTR, RTS, CTS, TXD, and RXD signals exchanged between a terminal and a modern. (b) Why is synchronous serial data communication much more efficient than asynchronous communication? 1 of 2
Code No: RR310501 Set No. 2 (c) List out various signals in 1 EEE 488 and their purpose and explain.[6+4+6] 2 of 2
Code No: RR310501 Set No. 3 1. (a) If an absolute address of the type 6A3D9H is given, express it in the form of CS : IP and explain what are the advantages of the memory segmentation. Discuss about the various segment registers in 8086. (b) What are the modes in which the 8086 can be used.how many lines are there in the multiplexed bus of 8086. Give the pin diagram separately for each mode of operation. [8+8] 2. (a) Add two 5 byte numbers such that the sum is stored in one of the source array locations. (b) Write an 8086 ALP to convert the Fahrenheit temperature to Celsius temperature. [8+8] 3. Develop an 8086 assembly language program that will determine if a given substring is present or not is a main string of characters. Place the result as a 1 if present or as 0 if not present in a memory location. [16] 4. Draw the schematic diagram of 8255 PPI and explain different modes of operation of 8255 with example. [16] 5. (a) Explain organization of the 8259 programmable interrupt controller. (b) With a neat diagram explain cascading of two 2 x 8259 s to interface 15 I/O devices. [10+6] 6. Explain with a block diagram how 4-digit seven segment LEDs can be interfaced to a microprocessor using multiplexing. [16] 7. Explain with a block diagram the working of 8272 floppy disk controller and discuss its various commands. [16] 8. Explain the functions of the follwing system tools (a) Assembler (b) Linker (c) Debugger and (d) Locator [16] 1 of 1
Code No: RR310501 Set No. 4 1. (a) With the examples explain the functioning of instruction pointer and stack pointer in 8086 microprocessor. (b) How many status flags does 8086 have? Discuss the role of each flag. [8+8] 2. Develop an 8086 assembly language program that converts the given hexadecimal data into ASCII and vice-versa. [16] 3. (a) Write short notes on the following string data transfer instructions : i. LODS ii. STOS iii. MOVS (b) Explain what the REPE prefix does when coupled with the SCASB instruction? [12+4] 4. (a) Suppose that the beginning address of an 8255 is 0500 and write a program sequence that will i. Put both groups A and B in mode 0 with ports A and C being input ports and port B as an output port. ii. Put group A in mode 1 with port A being an input and PC6 and PC7 being outputs and group B in mode 1 with port B being an input. (b) Explain interfacing I/O subsystem using an 8255 with one example. [8+8] 5. (a) What is minimum no. of bus cycles that can occur between the time an interrupt request is recognized and the first instruction in the interrupt routine is fetched. Draw the bys cycles. (b) Write an instruction sequence that will cause the priority of an 8259, whose even address is 08A0, to be IR4, IR5, IR6, IR7, IR0, IR1, IR2, IR3. Solve this twice, once assuming that the highest priority is currently IR0 and once assuming that it is IR3. [6+10] 6. (a) Design a circuit to activate a actuator, based on a bit combination given by eight switches interfaced to a microprocessor (b) Design a interface circuit to feed numbers 0-9 through a linearly encoded switches and to display the number on a seven segment LED through a microprocessor [8+8] 1 of 2
Code No: RR310501 Set No. 4 7. (a) Explain how characters are displayed on CRT screen (b) Explain in detail how CRT controller can be interfaced to Microprocessor. [4+12] 8. Describe how an assembly language program is developed and debugged using system tools. [16] 2 of 2