/Compute-Mean-and-Square-x86

Program in x86 Assembly Language that takes user input in an array and passes it to a function to perform some actions.

Primary LanguageAssemblyMIT LicenseMIT

Compute Mean and Square x86 (Assignment #3)

coded by Julian Coronado

Education Objectives

  • Declare an array
  • Pass data to subprogram
  • Convert an integer to a numerically equal floating point number
  • Pass a float number to another function
  • Use a General Purpose Register in the role of an index to an array

Files in this assignment / repo include:

  • driver.cpp
  • display.c
  • square.cpp
  • control.asm
  • compute_mean.asm
  • run.sh (shell file to compile and execute program)

To compile / run the program have the latest version of NASM installed then use the following commands in Linux:

$ sh run.sh