aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-21 08:25:06 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-08-21 08:25:06 +0200
commit975cb348c513ad77014a9b22628adbe06157b1fb (patch)
treed0d997335c096caf30e46337cfb9af909243ebcb /qtmips_gui
parent1039db95c72f221c45e9941442989491bddc63b8 (diff)
downloadqtmips-975cb348c513ad77014a9b22628adbe06157b1fb.tar.gz
qtmips-975cb348c513ad77014a9b22628adbe06157b1fb.tar.bz2
qtmips-975cb348c513ad77014a9b22628adbe06157b1fb.zip
Add .byte directive and move align target address only before .word and instruction.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/highlighterasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/highlighterasm.cpp b/qtmips_gui/highlighterasm.cpp
index 8ab8abe..c9d16d2 100644
--- a/qtmips_gui/highlighterasm.cpp
+++ b/qtmips_gui/highlighterasm.cpp
@@ -51,7 +51,7 @@ HighlighterAsm::HighlighterAsm(QTextDocument *parent)
QStringLiteral("\\.globl\\b"), QStringLiteral("\\.set\\b"),
QStringLiteral("\\.equ\\b"), QStringLiteral("\\.end\\b"),
QStringLiteral("\\.ent\\b"), QStringLiteral("\\.ascii\\b"),
- QStringLiteral("\\.asciz\\b")
+ QStringLiteral("\\.asciz\\b"), QStringLiteral("\\.byte\\b")
};
for (const QString &pattern : keywordPatterns) {