Supply text representation of assembly

This commit is contained in:
Alex Beregszaszi
2017-06-09 16:40:14 +02:00
committed by chriseth
parent f0d213e6b5
commit ca92bda886
2 changed files with 7 additions and 1 deletions
+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;
}