John P. Baker noted:

> In the first case, I need to branch into a branch table using an index -

>          B             BTABLE(R2)
> BTABLE B             RTN01
>        B             RTN02
>        B             RTN03
>        B             RTN04

There's a simple way to do this without needing an indexed branch
instruction:
replace the  indexed branch with these instructions:

           LARL          0,BTABLE
         AR            2,0
         BR            2

You can use a similar technique for "indexing" an EX instruction.

John Ehrman

Reply via email to