USING PEP/9
28. Implement a new nonunary instruction in place of NOP calledMULA that multiplies the operand by the accumulator and puts theresult in the accumulator. Allow only direct addressing. Use theinterative shift-and-add algorithm of Problem 6.24. NZC shouldshould correlate with the new value in the accumulator from thelast addition. V should be set if any of the left shifts oradditions produced an overflow. Use the test program provided inthe Pep/9 app to test the features of the new instruction
Solution