This patch adds support for virtualized register arrays to the tgt-stub back end. Based Cary's patch, but with a slightly different style. Both work fine.