Add/Subtract Single Digit Number in Assembly Language

Well, I'm not that good with this. I just want to share this "simple" arithmetic done in assembly programming.

The program will:

  • Ask the user to choose addition or subtraction 
  • Ask the user to input the 1st single digit number
  • Ask the user to input the 2nd single digit number
  • Show the result


The program won't accept any other value except number. It will also shows (-) negative sign just like the image above.

Anyway, here's the code below:




That's all! I'm just happy today! :)

Popular posts from this blog

Set table width to 100% on PDF export in Datatables