AndroidonEarth / Number-Accumulator

MASM Assembly program to count user inputs and as well as sum them and produce a rounded average.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number Accumulator

MASM Assembly program to count user inputs and as well as sum them and produce a rounded average. Uses the Kip Irvine library for x86 processors.

Objectives

  1. Implementing data validation.
  2. Implementing an accumulator.
  3. Integer arithmetic.
  4. Defining interger and string variables.
  5. Using library procedures for I/O
  6. Implementing control structures (decision, loop, procedure)

Program Description

  • Prompts the user to enter numbers from -100 to -1.
  • Displays the number of negative numbers entered.
  • Calculates and displays the sum of the negative numbers as well as the rounded average.

About

MASM Assembly program to count user inputs and as well as sum them and produce a rounded average.


Languages

Language:Assembly 100.0%