Я должен написать программу, которая запрашивает 3 положительных числа (меньше 10). Затем выведите наибольшее и наименьшее число. Я чувствую, что нахожусь в тупике, и понятия не имею, что делать дальше. Любая помощь будет принята с благодарностью.
.ORIG x3000
LEA R0, MyNameID ;Show name and ID
PUTS
LEA R0, EnterNum1 ;Print enter number 1
PUTS
GETC R1
OUT
LEA R0, EnterNum2 ;Print enter number 2
PUTS
GETC R2
OUT
LEA R0, EnterNum3 ;Print enter number 3
PUTS
GETC R3
OUT
halt
MyNameID .STRINGZ "\nName, ID number: "
EnterNum1 .STRINGZ "\nPlease enter number 1:"
EnterNum2 .STRINGZ "\nPlease enter number 2:"
EnterNum3 .STRINGZ "\nPlease enter number 3:"
SmallestNum .STRINGZ "\nThe smallest number is:"
LargestNum .STRINGZ "\nThe largest number is:"
.end