Assembly

 

                                         ASSEMBLY LANGUAGE


(1).simple program print hello word in assembly language

(2).simple program read two numbers from user and calculate sum

(3).simple program read two numbers from user and calculate multiplication

(4).simple program read two numbers from user and calculate subtraction

(5).simple program read two numbers from user and calculate division

(6).Write a program that reads length of a side of a square and prints its perimeter.

(7).Write a program that prints sum of first 4 even numbers.

(8).Write a program that reads length and width of a rectangle and calculates and prints its perimeter.

(9).simple code for the given equation 3 + 3 - ( x + 7 ) + y - 5

(10).simple program declare array and check the size an d length of array

(11).simple program Find the circumference of a circle by using the radius value in float

(12).Write a program that reads two unsigned integers v1 and v2 and finds (v1+v2)/4*8.

(13).Write a program that prints sum of first 10 odd numbers.

(14).write program for this expression A = B – A

(15).write program for this expression A = – (A + 1)

(16).write program for this expression C = A + B

(17).write program for this expression B = 3 x B + 7

(18).simple program using procedures to print message in assembly language

(19).simple program using nested procedures in assembly language

(20).simple program for global labels in assembly language

(21).simple program that calculate the sum of given array by using procedures in assembly language

(22).Simple program using Assembly language.

(23).Simple program using Array in Assembly language

(24).Write a program that uses a loop to calculate the first seven values in the Fibonacci number sequence.

(25).simple program that Print the following pattern.

(26).Write instructions to calculate sum of 2 arrays.

(27).Use the array1 & array2 and perform subtraction.

(28).Program to count number of zeros, positive and negative numbers in an array.

(29).write a program that interchanges the corresponding elements of two arrays.

(30).Write a program that finds the largest and smallest numbers in an array.

(31).Write a program that ask students to enter the marks of quiz of ten students 2.If the average of marks is less than 50% then system should instruct to students to have an extra class.

(32).Write a program that ask to user to enter marks of DLD course and check that either student obtain ‘A’ grade or less than ‘A’ grade.

(32).Write a program to find max and min numbers from an array of [5] by taking value from the user.

(33).Take four numbers from user and print the following statement. 

(34).Write a procedure to convert temperature from Celsius to Fahrenheit.

(35).Use procedure to calculate the minimum and maximum number in the array of size 10.

(36).You have the six courses which are stored in array use the procedure to calculate the marks percentage of the student.

(37).Use procedure to swap two numbers.

(38).Write assembly language instructions to push 10 numbers in stack.

(39).Write assembly language instructions to pop the 3 numbers.

(40).Write instructions that and pop the largest number of array, after pop again print to array.

(41).Write assembly language code to swap two numbers using stack .

(42).Write assembly language code to reverse a string “abcdef” using stack.

(43).Write a program that will prompt the user to enter a hex digit character ("0" "9" or "A" "F"), display it on the next line in decimal.

(44).Write a program that counts number of 1 bits (bits having value 1) stored in register AX. Display whether there are even or odd number of 1 bits.

(45).Write a program that find v4 = v1/2 + v2 *16 (only use only shift instructions).

(46).Write a program that compute v5 = v1 + v2/8 + v3*5 (v1, v2, and v3 are unsigned byte variables).


No comments:

Post a Comment