raise NotImplementedError
-@_dataclasses.dataclass(eq=True, frozen=True)
class DynamicOperand(Operand):
def disassemble(self, insn, record,
verbosity=Verbosity.NORMAL, indent=""):
yield str(int(value))
-@_dataclasses.dataclass(eq=True, frozen=True)
-class ImmediateOperand(DynamicOperand):
- pass
-
-
@_dataclasses.dataclass(eq=True, frozen=True)
class StaticOperand(Operand):
value: int
yield str(int(value))
-@_dataclasses.dataclass(eq=True, frozen=True)
+class ImmediateOperand(DynamicOperand):
+ pass
+
+
class DynamicOperandReg(DynamicOperand):
def spec(self, insn, record, merge):
vector = False
verbosity=verbosity, indent=indent)
-@_dataclasses.dataclass(eq=True, frozen=True)
class DynamicOperandFPR(DynamicOperandGPRFPR):
def disassemble(self, insn, record,
verbosity=Verbosity.NORMAL, indent=""):
verbosity=verbosity, indent=indent)
-@_dataclasses.dataclass(eq=True, frozen=True)
class DynamicOperandTargetAddr(DynamicOperandReg):
def disassemble(self, insn, record, field,
verbosity=Verbosity.NORMAL, indent=""):
_SelectableInt(value=0b00, bits=2))))
-@_dataclasses.dataclass(eq=True, frozen=True)
class DynamicOperandTargetAddrLI(DynamicOperandTargetAddr):
def span(self, record):
return record.fields["LI"]