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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!