Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/youseftareq33/intel8086-assembly-program_summingandaveragingvariables
Assembly Program for Summing and Averaging Variable-Sized Integer Inputs
https://github.com/youseftareq33/intel8086-assembly-program_summingandaveragingvariables
assembly
Last synced: about 2 months ago
JSON representation
Assembly Program for Summing and Averaging Variable-Sized Integer Inputs
- Host: GitHub
- URL: https://github.com/youseftareq33/intel8086-assembly-program_summingandaveragingvariables
- Owner: youseftareq33
- Created: 2024-07-16T11:13:18.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-16T11:17:25.000Z (7 months ago)
- Last Synced: 2024-11-06T06:26:36.884Z (3 months ago)
- Topics: assembly
- Language: Assembly
- Homepage:
- Size: 1.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intel 8086 Assembly Program for Summing and Averaging Variable-Sized Integer Inputs
The Idea of project:
1) Prompt the user to input N and the size of the number.
2) Use the input size to determine how many bytes are needed to store each number.
3) Request inputting the first number, then the second and so on until N numbers are input.
4) Validate the user's input to ensure that it is a decimal number and within the predetermined size.
5) Convert each input number from a string to a BCD format with the predefined size.
6) Calculate the summation and average of the numbers.
7) Print the summation and average of the numbers.