Hello Guys,

I hope you can help me with my requirement in assembly.

I need a code with an input that can add and subtract binary.

Example Output:

Enter Operation You Want to Execute, Press 1 for Addition Press 2 for Subtract

You selected Addition (example the user press 1)

Enter the 1st 4bit binary:
1001 (here the user will input a binary)
Enter the 2nd 4bit binary
0001 (here the user will input a binary)

The answer is: 1010

Press Enter to return or ESC to end this program.

Posted on 2010-10-26 09:28:19 by falconlogs
We don't do homework.

If you do a little effort and show what you yourself have come up with so far, people generally don't mind helping... but you're not going to be spoonfed, it's your own fault if you've been skipping class.
Posted on 2010-10-26 15:03:46 by f0dder
Thank you for your reply..

You are very helpful.

Posted on 2010-10-26 21:12:46 by falconlogs
Glad that's cleared. :thumbsup:
Posted on 2010-10-26 22:30:47 by JimmyClif