extra2: Extra2.remap(range(10, 19))
extra3: Extra3.remap(range(10, 19))
+ @property
+ def specifiers(self):
+ yield from ()
+
def disassemble(self, verbosity=Verbosity.NORMAL):
if verbosity >= Verbosity.VERBOSE:
indent = (" " * 4)
yield f"{blob_suffix}.long 0x{int(self.suffix):08x}"
return
+ name = f"sv.{record.name}"
+
+ Rc = False
+ if record.mdwn.operands["Rc"] is not None:
+ Rc = bool(self.suffix[record.fields["Rc"]])
+ rm = self.prefix.rm.select(record=record, Rc=Rc)
+
+ specifiers = tuple(rm.specifiers)
+ if specifiers:
+ specifiers = f"/{'/'.join(specifiers)}"
+ else:
+ specifiers = ""
+
operands = tuple(map(_operator.itemgetter(1),
self.dynamic_operands(db=db, verbosity=verbosity)))
if operands:
- yield f"{blob_prefix}sv.{record.name} {','.join(operands)}"
+ operands = f" {','.join(operands)}"
else:
- yield f"{blob_prefix}{record.name}"
+ operands = ""
+
+ yield f"{blob_prefix}{name}{specifiers}{operands}"
if blob_suffix:
yield f"{blob_suffix}"
- Rc = False
- if record.mdwn.operands["Rc"] is not None:
- Rc = bool(self.suffix[record.fields["Rc"]])
-
- rm = self.prefix.rm.select(record=record, Rc=Rc)
if verbosity >= Verbosity.VERBOSE:
indent = (" " * 4)
binary = self.binary