Program to accept the input from user, Assembly Language

Write an assembly language program that will:

  1. accept keyboard input of a positive integer value N;
  2. compute the sum S= 1+ 2 + 3 + ... + N;
  3. print (output) the computed sum S.

Note (For example if N=5 then the program will add 1+2+3+4+5 and print 15)

Posted Date: 3/19/2013 6:54:42 AM | Location : United States







Related Discussions:- Program to accept the input from user, Assignment Help, Ask Question on Program to accept the input from user, Get Answer, Expert's Help, Program to accept the input from user Discussions

Write discussion on Program to accept the input from user
Your posts are moderated
Related Questions
1. Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register? array1 DWORD 10, 20, 30, 40, 50, 6

Data copy/transfer Instructions MOV: This data transfer instruction transfers data from one register or memory location to another register or memory location. The source can

to separate positive and negative numbers


Declare 1 constant. This can be done just below the prototype section. Put the following divider above the constant section. ;************************ Constants ****************

* * * * **** * * * * * How can i print this help me pls

Convert 751 to hex and show what it would look like stored at TheNumber WORD ? (hint: answer in hex pairs)

Print Media Advertising (PMA) has been providing a contract to market Buzz Cola via newspaper ads in a main southern newspaper. Full-page ads in the weekday editions (Monday throug

NASM assembly language program: Consider a sequence of 19 strictly positive decimal digits, most likely stored in an array. There are obviously duplicates, and the sequence is un

) What is the difference between re-locatable program and re-locatable data?