LC – 3 simulator

Write an LC – 3 program to accomplish the following:

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

If(R0 + R1 > R2)

Then

{

R0 = R0 + 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

R1 = R1 + 3

}

Else

{

R0 = R0 – 1

R1 = R1 – 2

}

Endif

R4 = 3

Note – The answer should be in hex code

Your program should begin at location x3000. I need the simulator AND a text file of the hex code for the answer .The program will be tested several times. I want to see the program execute the “if” part,and then I will test the “else” part. The program should also contain only 1 HALT instruction which should also correspond to the breakpoint in the program. Multiple HALTs or breakpoints have not correctly implemented above on the question

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER