This commit is contained in:
Kelvin Sherlock 2016-12-25 00:04:00 -05:00
parent 109d3a1118
commit 500baaf717

View File

@ -344,7 +344,7 @@ void dump(const std::vector<uint8_t> &data, unsigned &pc) {
int count = 0;
for (auto &x : data) {
if (count == 0) printf("\t.byte\t");
if (count == 0) printf("\tbyte\t");
else printf(", ");
printf("$%02x", x);
++count;
@ -450,7 +450,7 @@ void disasm(const std::vector<uint8_t> &data, unsigned &flags, unsigned &pc) {
}
// any remaining data...
while (i < data.size()) {
printf("\t.byte\t$%02x\n", data[i]);
printf("\tbyte\t$%02x\n", data[i]);
++i;
++pc;
}