aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/symboltable.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-17 19:48:43 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-17 19:48:43 +0200
commit139dcf818566f9f2a48d95cdab9ad9e2ac7c7978 (patch)
tree2003660ee71cd5df7e830ca8084c8e3ea8f6ab96 /qtmips_machine/symboltable.h
parentda53e0174a90636c2a9469ef63b0aaa981f7bae3 (diff)
downloadqtmips-139dcf818566f9f2a48d95cdab9ad9e2ac7c7978.tar.gz
qtmips-139dcf818566f9f2a48d95cdab9ad9e2ac7c7978.tar.bz2
qtmips-139dcf818566f9f2a48d95cdab9ad9e2ac7c7978.zip
Simple assembler moved to separate class which is independent on Qt GUI API.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/symboltable.h')
-rw-r--r--qtmips_machine/symboltable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/symboltable.h b/qtmips_machine/symboltable.h
index 0c33ac3..ece92a9 100644
--- a/qtmips_machine/symboltable.h
+++ b/qtmips_machine/symboltable.h
@@ -65,6 +65,8 @@ public:
void add_symbol(QString name, std::uint32_t value, std::uint32_t size,
unsigned char info = 0, unsigned char other = 0);
+ void set_symbol(QString name, std::uint32_t value, std::uint32_t size,
+ unsigned char info = 0, unsigned char other = 0);
void remove_symbol(QString name);
QStringList *names() const;
public slots: