it is

shiftop_impl.regs[XL_IDX] = i;
shiftop_impl.regs[XH_IDX] = i + 1;

but I guess it should be

shiftop_impl.regs[YL_IDX] = i;
shiftop_impl.regs[YH_IDX] = i + 1;


Ben