mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
vocabulary and formatting
This commit is contained in:
parent
d022755c2a
commit
bf2eff80d2
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue