diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 18:37:54 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 18:37:54 +0200 |
commit | b62686b24fbb65d0810475e24aba7a5c4ee3e05e (patch) | |
tree | 1071883f7f678d112126e6c934a4b9af4709619e /qtmips_machine/symboltable.h | |
parent | 2db0208ed333e0bf232e396c1789085781f50d66 (diff) | |
download | qtmips-b62686b24fbb65d0810475e24aba7a5c4ee3e05e.tar.gz qtmips-b62686b24fbb65d0810475e24aba7a5c4ee3e05e.tar.bz2 qtmips-b62686b24fbb65d0810475e24aba7a5c4ee3e05e.zip |
Minimal prototype of integrated assembler.
The labels are parsed and stored into symbol table
but expressions dependent on symbols values are not evaluated.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/symboltable.h')
-rw-r--r-- | qtmips_machine/symboltable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/symboltable.h b/qtmips_machine/symboltable.h index 174917c..0c33ac3 100644 --- a/qtmips_machine/symboltable.h +++ b/qtmips_machine/symboltable.h @@ -65,6 +65,7 @@ public: void add_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: bool name_to_value(std::uint32_t &value, QString name) const; |