Question: translate to high level language(C++ or Java) plechone IR 0000 (Hex) Invert selection M MARIE Assembler Code Editor File Edit Assemble Help Example 4.1 ORG

translate to high level language(C++ or Java)
translate to high level language(C++ or Java) plechone IR 0000 (Hex) Invert

plechone IR 0000 (Hex) Invert selection M MARIE Assembler Code Editor File Edit Assemble Help Example 4.1 ORG 100 IC, Load X /Load the first value Subt /Subtract the value of Y, store result in AC Skipcond 400 /IC AC=0, skip the next instruction Jump Else /Jump to Else part it AC is not equal to O hen, Load X /Reload X so it can be doubled Add /Double X Store /Store the new value Jump Endit /Skip over the false, or else, part to end of it Else, Load Y /Start the else part by loading Y Subt /Subtract X from Y Store Y /Store Y-X in Y Endit, Halt /Terminate program (it doesn't do much!) Dec /Load the loop control variable Dec /Subtract one from the loop control variable END 20 buic Usersimuran Downloads\MARIE_Datapath Simulators Ex4 2.mas Assembly successful, QuickGuide 1/23/2020 8:43 PM PDF File 76 KB

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!