コード例 #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()