Question: Use Easy68K ONLY Translate the following algorithm into assembly language. Please attach your code and your output result below. Input X from keyboard using Trap
Use Easy68K ONLY
Translate the following algorithm into assembly language. Please attach your code and your output result below. Input X from keyboard using Trap #15. Show the result for two situations where X is greater than 14 and where it is not greater than 14.
IF X > 14
X = 2*X+2
ELSE
X = X - 15
OUTPUT X
Thank You :)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
