No sexy instructions, but this code provides the output characters complete with a space, and uses only one register:

         LLC   1,BYTE
         SRL   1,4
         MHI   1,3
         LA    1,TABLE(1)
         MVC   RESULT,0(1)

TABLE    DC    C'1 11 21 31 42 12 22 32 43 13 23 33 44 14 24 34 4'

RESULT   DS    CL3

On 2/1/2022 09:32, Dave Clark wrote:
"IBM Mainframe Assembler List" <[email protected]> wrote on
02/01/2022 04:40:19 AM:
To be fair we have to consider that Dave stored the results

         That's correct.  but, I wasn't storing the two values next to each
other.  I left a space in between.  So you need two instructions to store
the results instead of just one.


Sincerely,

Dave Clark

Reply via email to