Professional Documents
Culture Documents
3. (a) Write a program to check whether the given string is palindrome or not.
(b) Briefly explain about following instructions.
i. ADD
ii. NEG
iii. AAM
iv. DIV [8+8]
4. (a) Discuss the difference in the debug applications of the interrupts caused by
the INT, INT Type, and single-step trap? In particular, which one of these
interrupts is preferred than the remaining two?
(b) Give the necessary statements to permit the byte variables NUM1, NUM2,
NUM3 and NUM4 which are defined in source module 2 to be accessed in
source module 1 as if they are defined in source module1? [8+8]
5. (a) Write an assembly language program that will examine an ASCII string of 100
characters and replace each decimal digit by a %. The character string starts
at STRG.
(b) Explain the prefix instruction format of 8086 processor? Discuss how these
instructions are useful in string manipulation? [8+8]
6. (a) Compare interrupted I/O and DMA data transfer schemes. [8]
(b) Give the machine language code for each of the following instructions?
i. IN AL, 52H
ii. OUT 0CH, AL
1 of 2
Code No: NR312001 NR
iii. OUT DX, AX
iv. IN AX, DX. [2+2+2+2]
7. (a) Draw the block diagram of 8255 and explain each block? Discuss different
modes of operation?
(b) With neat layout, explain how a microprocessor can be used for data acquisi-
tion system using A/D converters and D/A converters? [8+8]
8. (a) Draw the flowchart showing how synchronous serial data can be sent from a
port line using software routine?
(b) Draw the block diagram of 8237 and explain each block. [8+8]
?????
2 of 2