From bf2eff80d20a548433e8dc9b2aa4918f4d7814d2 Mon Sep 17 00:00:00 2001 From: Lephe Date: Sun, 4 Aug 2019 14:03:50 +0200 Subject: [PATCH] vocabulary and formatting --- README.md | 2 +- fxos/disassembly.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6af9983..aebc80e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The fxSDK is a development kit for Casio graphing calculators of the family of the fx-9860G and fx-CG 50. It's a set of command-line compilation and project tools used to facilitate development with the -[gint library](/Lephenixnoir/gint). +[gint kernel](/Lephenixnoir/gint). This kit is free software; you may use it for any purpose, share it, and modify it as long as you share your changes. No credit required, but please let me diff --git a/fxos/disassembly.c b/fxos/disassembly.c index 025984b..d29743a 100644 --- a/fxos/disassembly.c +++ b/fxos/disassembly.c @@ -153,7 +153,7 @@ static void arg_output(int type, char const *literal, static void instruction_output(uint16_t opcode, struct asm_match const *match) { char const *mnemonic = match->insn->mnemonic; - printf("%6x: %04x %s", pc, opcode, mnemonic); + printf(" %5x: %04x %s", pc, opcode, mnemonic); /* Find out operation size */ @@ -259,7 +259,7 @@ void disassembly_os(struct os const *src, struct disassembly const *opt) uint16_t opcode = (data[pc] << 8) | data[pc + 1]; int count = matches(opcode); - if(count == 0) printf("%6x: %04x\n", pc, opcode); + if(count == 0) printf(" %5x: %04x\n", pc, opcode); else if(count == 1) instruction_single(opcode); else instruction_conflicts(opcode, count);