Assembly language program to add and subtract two numbers
Answers
Answered by
0
Hey friend here's your answer
Hope it helps you
math assembly x86 tasm
I am attempting to write a program in Assembly to take a plus or minus sign as the first input ( deciding whether to plus or minus two numbers together ) and then taking two 2 digit numbers and adding/subtracting and displaying the result. I have the following code so far, but I am having troubles in the output. I know in the code snippet below it is simply displaying a single char, but I would like it to display the actual output but I have no idea how, attempting to use a normal string display interrupt does not work because the size of num2 or al does not match the size of dx (the output string register)
If you like the answer please mark it brainliest
Similar questions
English,
6 months ago
English,
6 months ago
Computer Science,
11 months ago
Economy,
11 months ago
Math,
1 year ago