From 975cb348c513ad77014a9b22628adbe06157b1fb Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 21 Aug 2019 08:25:06 +0200 Subject: Add .byte directive and move align target address only before .word and instruction. Signed-off-by: Pavel Pisa --- qtmips_gui/highlighterasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui') 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) { -- cgit v1.2.3