Logo 
Search:

Assembly Language Article

Submit Article
Comments on Program that prompts the user to enter two binary numbers of up to 8 digits each, and print their sum on the next line in binary...
Category: Assembly Language (General)    Author: Easy Tutor

An AL program that prompts the user to enter two binary numbers of up to 8 digits each, and print their sum on the next line in binary. If the user enters an illegal character, he or she should be prompted to begin again. Each input ends with a carriage return.


Dolar Hridoy
Dolar Hridoy from BangladeshNov 28
There is a part of a question that,"If the user enters an illegal character, he or she should be prompted to begin again". But, If I enter illegal characters like: 12121212, as233510; the sum is still coming in binary number. Please, give me a solution that how can I fix it.


Please enter your Comment
  • Comment should be atleast 15 Characters.
  • Please put code inside [Code] your code [/Code].