// class RegArray is an array of registers for use in the STM public class r2 { final int NUMREGS = 16; int regs []; // Constructor public r2() { regs = new int[NUMREGS]; } public void copy(r2 rx) { rx.regs = regs; } }