Project Summary: Write an Intel 8086 Assembly program that reads N numbers as Strings, convert them into variable sized Integer numbers, and then print the summation and average of the numbers. The program should allow the user to decide the size of the input number itself (assume integers in format but with variable size). Detailed Description: - Have the program prompt the user to input N and the size of the number then request inputting the first number, then the second and so on until N numbers are input. - Your code should allow users to select the size of the numbers, for example you can have integers with size of 1 Byte each, or you can make them 10 Bytes large. - Validation: Your code should make sure user inputs Decimal numbers only, and with predetermined size only. When a user inputs a wrong value, your code should print an error message that explains it, and then gives the user another chance to input it correctly. - When the user presses Enter, your code should read the input values as if they are Strings, then convert them into numbers in BCD format with predefined size, each two digits can be stored in one Byte.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question

Project Summary: Write an Intel 8086 Assembly program that reads N numbers as Strings, convert them into variable sized Integer numbers, and then print the summation and average of the numbers. The program should allow the user to decide the size of the input number itself (assume integers in format but with variable size). Detailed Description: - Have the program prompt the user to input N and the size of the number then request inputting the first number, then the second and so on until N numbers are input. - Your code should allow users to select the size of the numbers, for example you can have integers with size of 1 Byte each, or you can make them 10 Bytes large. - Validation: Your code should make sure user inputs Decimal numbers only, and with predetermined size only. When a user inputs a wrong value, your code should print an error message that explains it, and then gives the user another chance to input it correctly. - When the user presses Enter, your code should read the input values as if they are Strings, then convert them into numbers in BCD format with predefined size, each two digits can be stored in one Byte. - After reading all the numbers, calculate their summation and average then print the Sum and Avg Project Report: Each team should write a report that explains how to run the project and then explain how the project has been implemented. Explain the code details Software Needed: Any of the followings would do: - Emu8086 - Online Assemblers and IDEs - TASM.exe and TLINK.exe - DEBUG running on DosBox

 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education