Assemble .asciz assembler directive as .string
MODIFY
src/assembler.cpp
src/assembler.cpp
@@ -612,7 +612,7 @@ void Assembler::assembleWords(const QStringList& fields, QByteArray& byteArray,
void Assembler::assembleAssemblerDirective(const QStringList& fields) {
QByteArray byteArray;
- if (fields[0] == QString(".string")) {
+ if (fields[0] == QString(".string") || fields[0] == QString(".asciz")) {
QString string;
// Merge input fields
for (int i = 1; i < fields.length(); i++) {

Assemble .asciz assembler directive as .string