Monthly Archives: March 2014

ASSEMBLY16 An Assembly program to find nCr for given n and r

Now we will write another Assembly program to find nCr for given n and r Let’s identify variables needed for this program. First variables will be the one which will hold the value entered by user in the variable N and variable R.DIFF will hold Difference between N and R. In nCr N is always Greater than R so the difference… Read More »

ASSEMBLY15 An Assembly program to find the factorial of decimal number given by user

Now we will write another Assembly program to to find the factorial of decimal number given by user Let’s identify variables needed for this program. First variable will be the one which will hold the value entered by user in the variable NUM and FACT will hold 1H and Other variable RES will be holding the Resultant Decimal equivalent printable… Read More »

ASSEMBLY14 An Assembly program which adds the sales tax in the Price list of items and replace the Price list with the new list

Now we will write another Assembly program to calculate the average of three given numbers stored in memory. Let’s identify variables needed for this program. First variables will be the one which will hold the values present in the Price list and it will be array PRICE. Other variables will be holding the Sale’s Tax and it… Read More »

ASSEMBLY13 An Assembly program to convert Centigrade (Celsius) to Fahrenheit temperature measuring scales

Now we will write another Assembly program to convert Centigrade (Celsius) to Fahrenheit temperature measuring scales ASSUME:- Temperature in Celsius is always between 0 ‘C – 99 ‘C, Hence the program will take two digit decimal number as INPUT. Let me tell you Formula of Conversion  :- Celsius = (Fahrenheit – 32)* 5 / 9. This can be written as… Read More »

ASSEMBLY12 An Assembly program to Evaluate 3*(x^3)+4x+5 if flag is 1 or Evaluate 7x+8 if flag is 0. Assume X is 16-bit unsigned integer

Now we will write another Assembly program to Evaluate 3*(x^3)+4x+5 if flag is 1 or Evaluate 7x+8 if flag is 0. Assume X is 16-bit unsigned integer Let’s identify variables needed for this program. First variable will be the one which will hold the value predefined by programmer of 16 bit in the variable X, second variable will be… Read More »

ASSEMBLY11 An Assembly program to Evaluate sphere volume if radius is given print result on Screen

Now we will write another Assembly program to Evaluate sphere volume if radius is given print result on Screen Let’s identify variables needed for this program. First variable will be the one which will hold the value entered by user in the variable R and Other variable RES will be holding the Resultant Decimal equivalent printable form to be printed… Read More »

An Assembly program in which a procedure converts Hexadecimal value to print its Decimal form on Screen

Now we will write another Assembly program in which a procedure converts Hexadecimal value to print its Decimal form on Screen Let’s identify variables needed for this program. First variables will be the one which will hold the value present in the variable NUM converts Hexadecimal value to print its Decimal form on Console (Screen) and Other… Read More »