예제 #1
0
class ALUOP(Enum):
    Add = new_instruction()
    Sub = new_instruction()
    Or = new_instruction()
    And = new_instruction()
    XOr = new_instruction()
예제 #2
0
class INVERTER_INST(Enum):
    Ident = new_instruction()
    Invert = new_instruction()
예제 #3
0
class ALU_INST(Enum):
    Add = new_instruction()
    And = new_instruction()
    Shft = new_instruction()
    Xor = new_instruction()
예제 #4
0
class FLAG_INST(Enum):
    C = new_instruction()
    Z = new_instruction()