Skip to content

JohnnGamil/Computer-Architecture-Assignment2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Computer-Architecture-Assignment2

  • Write a 32-bits intel-syntax assembly program that can be compiled in the same way the 32-bits lab samples are compiled. The program should take the following inputs from the user:
  • An integer n.
  • n floating point numbers (Use the "double" type. Do not use "float" type.) The program should output (1 + 1/1) + (2 + 1/4) + (3 + 1/9) + (4 + 1/16) + ... + (n + 1/(n^2)). Example: The user inputs: 3 The program outputs: sum=7.361

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published