Exemple #1
0
 public Add(ArithmeticUnit unit, int operand)
 {
     m_Unit    = unit;
     m_Operand = operand;
 }
Exemple #2
0
 public Calculator()
 {
     m_Arithmetic = new ArithmeticUnit();
     m_Control    = new ControlUnit();
 }