From 06a850cc15999ec2839342ef79d0694a72628670 Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 18 Mar 2024 22:53:03 +0300 Subject: Remove dot '.' in size notation --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 289af3c..cb63eb4 100644 --- a/main.c +++ b/main.c @@ -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); } } -- cgit v1.2.3