Supply text representation of assembly

This commit is contained in:
Alex Beregszaszi authored and chriseth committed 2017-06-09 16:40:14 +02:00
1 parent f0d213e6b5
commit ca92bda886
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -1101,6 +1101,10 @@ bool CommandLineInterface::assemble(
cout << object.bytecode->toHex() << endl;
else
cerr << "No binary representation found." << endl;
if (!object.assembly.empty())
cout << object.assembly << endl;
else
cerr << "No text representation found." << endl;
cout << stack.print() << endl;
}