Write an algorithm and draw a corresponding flow chart to print the sum of the digits of a given number 10m Dec2005 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 or Pascal, but with some statements… Read More »

Now we will write another Assembly program, Using the method of “add-and-shift” loop, in which you use the binary digits of one number to control additions of a shifted version of the other number into a running total; this is essentially the same algorithm you use when multiplying numbers by hand in decimal Let’s identify variables… Read More »

Now we will write another Assembly program for finding the largest number in array of 10 elements. First variables will be the one which will hold the value discovered as the Sum of All the Binary Digits in Array list and it will be RES and Second will be the one which will hold the values present in the Given… Read More »