public int FindRegister() { for(int i = 0; i < _registers.Count; i++) { if(!InUse(i)) { AllocateRegister(i); return i; } } return 0; }