interpreter fixes

This commit is contained in:
ProgramSnail 2024-12-17 04:15:25 +03:00
parent b25d441287
commit 73d3fbc388
5 changed files with 29 additions and 22 deletions

View file

@ -596,7 +596,7 @@ void print_file(const Bytefile &bf, std::ostream &out) {
while (true) {
out << std::setfill('0') << std::setw(8) << std::hex << ip - bf.code_ptr
<< ": ";
<< ": " << std::dec;
const auto [cmd, l] = parse_command(&ip, &bf, out);
out << '\n';