summaryrefslogtreecommitdiff
path: root/pysc-v/InstructionSets/instructions.py
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-05-23 22:02:43 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-05-23 22:02:43 +0200
commita9ecd1abbf4603f4e8d70699cb30374a03b28a7c (patch)
treeab63b398683f9f361e6469c3d6c46c2d501c9f0d /pysc-v/InstructionSets/instructions.py
parentd0f52d4f73b802b92c7f7b43e9928e998d92e83c (diff)
Add instructions
Diffstat (limited to 'pysc-v/InstructionSets/instructions.py')
-rw-r--r--pysc-v/InstructionSets/instructions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysc-v/InstructionSets/instructions.py b/pysc-v/InstructionSets/instructions.py
index 625226a..00a3146 100644
--- a/pysc-v/InstructionSets/instructions.py
+++ b/pysc-v/InstructionSets/instructions.py
@@ -11,7 +11,7 @@ class Instruction:
# return the binstream of the instruction in a c_uint32
pass
- def execute(self):
+ def execute(self, pc):
# executes the instruction and returns the next program counter
return