mode = self.prefix.rm.mode
sel = mode.sel
- if record.svp64.mode is _SVMode.NORMAL:
+ if record.svp64.mode is _SVMode.BRANCH:
+ return (self.prefix.rm.mode, "branch")
+
+ elif record.svp64.mode is _SVMode.CROP:
+ return (self.prefix.rm.mode, "crop")
+
+ elif record.svp64.mode is _SVMode.NORMAL:
mode = mode.normal
if sel == 0b00:
if mode[2] == 0b0:
if isinstance(mode, cls):
return (mode, desc)
- if record.svp64.mode is _SVMode.BRANCH:
- return (self.prefix.rm.mode, "branch")
-
raise ValueError(self)
def disassemble(self, db,