missing initialisation of disasm_start
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Jul 2020 11:09:08 +0000 (12:09 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Jul 2020 11:09:08 +0000 (12:09 +0100)
src/soc/decoder/isa/caller.py

index d25fa6282c069c227c1373607275e14b44ae7314..16701072eaf26979cb843cfdb9bc65b5b1fe2e98 100644 (file)
@@ -260,6 +260,7 @@ class ISACaller:
 
         # "fake program counter" mode (for unit testing)
         self.fake_pc = 0
+        disasm_start = 0
         if not respect_pc:
             if isinstance(initial_mem, tuple):
                 self.fake_pc = initial_mem[0]