Need some assistance with MARIE assembly language program. I have written a program to sort through an array of 5 numbers and count the number of negative and positive numbers, now I need to sort and arrange them in ascending order. I cannot find a way to get them to sort and gather an output in ascending order. Please see my code below. Any assistance would be greatly appreciated.
ORG 100
If, LoadI Addr /Load element found at address Addr.
Skipcond 800 /IF AC > 0, skip to next instruction.
Jump Else /Otherwise, Jump to Else.