Question: Hint: HMMM Instructions Quick Reference addn rx N Add integer N (-128 to 127) to register IX div rx rY rz Set rX = TY

Hint: HMMM Instructions Quick Reference addn rx N Add integer N (-128 to 127) to register IX div rx rY rz Set rX = TY / 12 (integer division; counds down; no remainder) halt Stop! jgtzn X N If X > 0, then jump to line N read rx Place user input in register rx setn rX N Set register ix equal to the integer N (-128 to +127) sub rX Y Z Set rx = rY - Z write rX Print contents of register rx Q4 Code tables 1 Point Assume your computer is using ASCII codes to represent characters (letters, digits, etc.). Further assume that you wrote a program to sort strings in ascending order. What would be the output of such a program, if you wanted to sort the list below? abc, Abc, ABC, abc, 1abc, Abc1 O fabc, abc, Abc Abal, ABC abc labo, ABC, Abct, Abe, abc abc O1abc, ABC, Abc, Abci, abc, abc Otabe, ABC, Abc, Abct, abc, abc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
