Question: using 8086 emulator Write the assembly program using emulator 8086 for the algorithm presented below. Algorithm: int left, right; char oper; Print Enter First number
using 8086 emulator

Write the assembly program using emulator 8086 for the algorithm presented below. Algorithm: int left, right; char oper; Print "Enter First number" ; Read left; Print "Enter Second number "; Read right; Print "Enter Operation: (operations allowed are +','','*', or '/') only"; Read oper; switch (oper) { case '+' : Print "Result Print left + right; break; case '-' : Print "Result = Print left - right; break; case '*' : Print "Result = ", Print left * tight; break; case '/' : Print "Result = ", Print left / right; break; default: Print "Illegal operation"; 11 11 1 = / }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
