Question: Write an LC - 3 program that compares two numbers stored in memory at locations x 2 0 1 E and x 3 0 1

Write an LC-3 program that compares two numbers stored in memory at locations x201E and x301F. If the numbers are equal, then R1 is set equal to 1, else R1 is set equal to 0.

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 Programming Questions!