Tag Archives: 2006


Explain any five DOS function calls supported by INT 21H in the 8086 assembly language with an example of each call. 10m jun2006

(d) Explain, with an example of each call, any five DOS function calls supported by INT 21H in the 8086 assembly language.             10   DOS Function Calls (Using INT 21H) INT 21H supports about 100 different functions. A function is identified by putting the function number in the AH register. For example, if we… Read More »

Write a program to evaluate the following expression using an accumulator machine: A = B + C * D * E + F 7m jun2006

Write a program to evaluate the following expression using an accumulator machine: A = B + C * D * E + F     7m jun2006   Accumulator Architecture: An accumulator is a specially designated register that supplies one instruction operand and receives the result. The instructions in such machines are normally one-address instructions. The popular… Read More »

A program in 8086 assembly language that checks an input string against a password string stored in memory. 7m Jun2006

Write a program in 8086 assembly language that checks an input string against a password string stored in the memory and outputs an appropriate message if the strings are not equal.       7m Jun2006 DATA SEGMENT MSG1 DB 10,13,’ENTERED PASSWORD : $’ MSG2 DB 10,13,’YOU HAVE ENTERED WRONG PASSWORD !!! $’ MSG3 DB 10,13,’YOU HAVE ENTERED… Read More »

Explain the process of handling an interrupt that occurs during a program? 9m jun2006

Explain the process of handling an interrupt that occurs during the execution of a program, with the help of an example. 9m jun2006   Interrupt Handling and Instruction Cycle  On the occurrence of an interrupt, an interrupt request (in the form of a signal) is issued to the CPU. The CPU on receipt of interrupt… Read More »

What is the significance of FAT? What are the limitations of FAT 16? 4m jun2006

What is the significance of FAT? What are the limitations of FAT 16?  4m jun2006 FAT The FAT maps the usage of data space of the disk. It contains information about the space used by each individual file, the unused disk space and the space that is unusable due to defects in the disk. Since… Read More »

Explain any five addressing modes used in an 8086 microprocessor, with the help of an example of each. 5m jun2006

Explain any five addressing modes used in an 8086 microprocessor, with the help of an example of each.    5m jun2006 The following tree shows the common addressing modes: In general not all of the above modes are used for all applications. However, some of the common areas where compilers of high-level languages use them are:… Read More »

Draw the logic diagram of a full adder. Create a 2-bit adder-subtractor circuit using the block diagram of the full adder 6m Jun2006

Draw the logic diagram of a full adder. Create a 2-bit adder-subtractor circuit using the block diagram of the full adder 6m Jun2006 A combinational circuit which performs addition of two bits is called a half adder, while the combinational circuit which performs arithmetic addition of three bits (the third bit is the previous carry bit)… Read More »

Explain the following: Parity bit, Floating point notation, Refresh rates in video controllers and an l/O channel 8m Jun2006

Explain the following with the help of an example or a diagram, whichever is appropriate:    8m jun2006 (i)                 Parity bit (ii)               Floating point notation (iii)             Refresh rates in video controllers (iv)             An l/O channel     Parity bit An error bit changes from 0 to 1 or 1 to 0. One of the simplest… Read More »

Write an algorithm and draw a corresponding flowchart to print the sum of all integers starting from 2 to the given positive integer x where x >= 2. 10m Dec2006

Write an algorithm and draw a corresponding flowchart to print the sum of all integers starting from 2 to the given positive integer x where x >= 2. 10m Dec2006 An algorithm is a finite set of steps defining the solution of a particular problem. An algorithm is expressed in pseudo code – something resembling C language… Read More »

Write a recursive program in ‘C’ to find the L.C.M. (Least Common Multiple) of two given numbers. 10m Dec2006

Write a recursive program in ‘C’ to find the L.C.M. (Least Common Multiple) of two given numbers. 10m Dec2006 #include<stdio.h> int lcm(int,int); void main() { int NUM1,NUM2,LCM; clrscr(); printf(“ENTER ANY TWO POSITIVE NUMBERS TO FIND ITS L.C.M. : “); scanf(“%d%d”,&NUM1,&NUM2); if(NUM1>NUM2) LCM = lcm(NUM1,NUM2); else LCM = lcm(NUM2,NUM1); printf(“LCM OF TWO NUMBERS IS %d”,LCM); getch();… Read More »