More formatting

This commit is contained in:
stefandesouza
2024-01-10 13:26:50 +01:00
parent 9a7f38396f
commit 33ad20dc3a
8 changed files with 49 additions and 49 deletions

View File

@@ -11,7 +11,7 @@ from osaca.parser.immediate import ImmediateOperand
from .hw_model import MachineModel
class INSTR_flags:
class INSTR_FLAGS:
"""
Flags used for unknown or special instructions
"""
@@ -150,9 +150,9 @@ class ISASemantics(object):
# )
if self._has_load(instruction_form):
instruction_form.flags += [INSTR_flags.HAS_LD]
instruction_form.flags += [INSTR_FLAGS.HAS_LD]
if self._has_store(instruction_form):
instruction_form.flags += [INSTR_flags.HAS_ST]
instruction_form.flags += [INSTR_FLAGS.HAS_ST]
def get_reg_changes(self, instruction_form, only_postindexed=False):
"""