예제 #1
0
 internal void CreateShift <T>(int bits, int shiftBits) where T : ShiftBase
 {
     ComponentRegistry.CreateNew <T>("shift" + bits, "SHIFT " + bits + " Bit", BuilderHelper.CreateShiftLike(bits, shiftBits));
 }
예제 #2
0
 internal void CreateRotate <T>(int bits, int shiftBits) where T : RotateBase
 {
     ComponentRegistry.CreateNew <T>("rotate" + bits, "ROTATE " + bits + " Bit", BuilderHelper.CreateShiftLike(bits, shiftBits));
 }