From 4c50b8bf0679d8ad91d37c7af85101758cadcd9f Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sun, 18 Apr 2021 23:43:56 +0200 Subject: [PATCH] added .space pseudo op, currently does nothing --- riscemu/ExecutableParser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/riscemu/ExecutableParser.py b/riscemu/ExecutableParser.py index aef7b37..9a6dff2 100644 --- a/riscemu/ExecutableParser.py +++ b/riscemu/ExecutableParser.py @@ -112,6 +112,9 @@ class ExecutableParser: val = parse_numeric_argument(op.args[1]) self.symbols[name] = ('_static_', val) + def op_align(self, op: 'RiscVPseudoOpToken'): + pass + ## Section handler code def set_sec(self, name: str, flags: MemoryFlags, cls=MemorySection): if name not in self.sections: