Tag Archives: 8086

Write an 8086 assembly language program that finds the smallest and the second smallest number from a list of 10 numbers stored in memory. 7m Jun2008

Write an 8086 assembly language program that finds the smallest and the second smallest number from a list of 10 numbers stored in memory. 7m Jun2008 To understand program for Largest or Smallest in an array in detail Please Click this link below http://cssimplified.com/computer-organisation-and-assembly-language-programming/an-assembly-program-for-finding-the-largest-number-in-array-of-10-elements DATA SEGMENT ARR DB 5,3,7,1,9,2,6,8,4 LEN DW $-ARR SMALL DB ? SECOND… Read More »

an assembly language procedure that divides a 32-bit number by a 16-bit number and can be called in any other module. 10m Jun2006

Write an assembly language procedure for 8086 microprocessor that divides a 32-bit number by a 16-bit number. The procedure should be written in general, so that it may be defined in one module and can be called in any other module.       10m Jun2006    Large Number Division ;- J := (K*M)/P mov ax,… Read More »

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 »

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 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 »

Write an 8086 assembly language program that finds the largest, and the second largest number from a list of 10 numbers stored in the memory 6m Jun2006

Write an 8086 assembly language program that finds the largest, and the second largest number from a list of 10 numbers stored in the memory 6m Jun2006 To understand program for Largest in an array in detail Please Click this link below http://cssimplified.com/computer-organisation-and-assembly-language-programming/an-assembly-program-for-finding-the-largest-number-in-array-of-10-elements DATA SEGMENT ARR DB 5,3,7,1,9,2,6,8,4 LEN DW $-ARR LARGE DB ? SECOND… Read More »

Write a 8086 assembly language program to find whether two strings are of equal length. 5m Dec2005

Write a program in 8086 assembly language to find whether two strings are of equal length. You can assume that the strings are stored in the main memory and a string is terminated by a $ character 5m Dec2005 DATA SEGMENT STR1 DB ‘GANGADHAR$’ STR2 DB ‘KOPELLA$’ MSG1 DB 10,13,’LENGTH OF THE STRING 1 IS… Read More »

Explain the following with diagram or example:- Parameter passing using stack in 8086 assembly language 5m Dec2005

Explain the following with the help of a suitable diagram or an example:- Parameter passing using stack in 8086 assembly language 5m Dec2005  Most HLLs use the stack to pass parameters because this method is fairly efficient. To pass parameters on the stack, push them immediately before calling the subroutine. The subroutine then reads this data… Read More »

A procedure in Assembly Language program to that receives parameter on stack It returns 0 – IGNOU MCA Assignment 2014-15

 MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write a simple near procedure in 8086 assembly language that receives one 16 bit number as parameter value on the stack from the main module. It… Read More »

An Assembly Language program to convert a packed BCD into ASCII digits – IGNOU MCA Assignment 2014 – 15

 MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write a program in 8086 assembly language to convert a four digit packed BCD number into equivalent ASCII digits. The packed BCD number may be assumed… Read More »