Use memory globals for G registers