Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This problem is in a modified version of assembly language given to me by the CIE and I know how to solve it in LMC, but the BRP instruction or a similar one is not included in the given instruction set so I have no idea how to do it another way around. Available instruction include compares, decrements, increments, jump if true or false and of course all the other common addressing modes.

What I have tried:

EVERYTHING. I don't know how to get the solution without that branching function.
Posted
Updated 16-Nov-17 4:00am
Comments
Richard MacCutchan 16-Nov-17 10:07am    
Read each number, save it, compare it to the others.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900