diff options
| -rw-r--r-- | main.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -3540,13 +3540,13 @@ static int assem_emit(struct assem *const self, FILE *const stream)              const struct instruction instr = stmt->instruction;              fprintf(stream, "\t%s", mnemonic_to_string(instr.mnemonic));              if (instr.opsize != OPSIZE_NONE) { -                fprintf(stream, ".%c", opsize_to_char(instr.opsize)); +                fprintf(stream, "%c", opsize_to_char(instr.opsize));              } else if (is_bcc(instr.mnemonic)) {                  enum opsize opsize = assem_resolve_bcc(self, i); -                fprintf(stream, ".%c", opsize_to_char(opsize)); +                fprintf(stream, "%c", opsize_to_char(opsize));              }              if (instr.arg1.type != ARG_NONE) { -                fprintf(stream, "\t"); +                fprintf(stream, " ");                  emit_arg(lex, &instr.arg1, stream);                  if (instr.mnemonic == MN_JMP || instr.mnemonic == MN_JSR) {                      if (instr.arg1.type == ARG_ADDR_UNSPEC) { @@ -3554,7 +3554,7 @@ static int assem_emit(struct assem *const self, FILE *const stream)                      }                  }                  if (instr.arg2.type != ARG_NONE) { -                    fprintf(stream, ", "); +                    fprintf(stream, ",");                      emit_arg(lex, &instr.arg2, stream);                  }              } | 
