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
Problems: 1. Write a single program. Each of the problems (2-4) should be written within a procedure. Your “main” procedure should call each procedure. Before calling each proc

Will be needing help with assembly language assignments over the course of 4 weeks

i want to develop traffic light system so which kind of software is needed to develop this project?

Intel's 8237 DMA controller : 1) The 8237 contain 4 independent I/O channels 2) It contains 27 registers, 7 of which are system-wide registers and 5 for each channel. 3)

Modes of 8254 :   Mode 0 (Interrupt on Terminal Count)-GATE which value is 1 enables counting and GATE  which value is 0 disables counting, and GATE put not effect on

NOT : Logical Invert: The NOT instruction complements (inverts) the contents of an a memory location or operand register bit by bit. The instance are as following: Example :

Write a program to do the following: 1. Print your name 2. Using a bottom testing loop, prompt the user to enter a number from 1 to 5.  If the number entered is not 1..5, pri

Fourth  Generation Microprocessor : The single chip 32-bit microprocessor was introduced in 1981 by Intel as iAPX 432. The other 4th generation  microprocessors  were;  Hewlett

Project Overview In this series of projects you will write a compiler for a small subset of Pascal.  In this assignment, you will start writing the syntax analysis and code gen

1. The microwave has a clock (hh:mm:ss am/pm) and the user should be able to change the clock at any time. 2. For cooking the user should first enter the time. The user can ente