From 2258888956c97cf117f678baa6605bc4062f5a11 Mon Sep 17 00:00:00 2001 From: CPunch Date: Thu, 11 Aug 2022 16:19:21 -0500 Subject: [PATCH] lundump.py: Instruction.__readRK() should be a static method --- lundump.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lundump.py b/lundump.py index 79c094f..8826d11 100644 --- a/lundump.py +++ b/lundump.py @@ -80,7 +80,8 @@ class Instruction: self.C: int = None # 'RK's are special in because can be a register or a konstant. a bitflag is read to determine which - def __readRK(self, rk: int) -> str: + @staticmethod + def __readRK(rk: int) -> str: if (rk & (1 << 8)) > 0: return "K[" + str((rk & ~(1 << 8))) + "]" else: