Bladeren bron

vocabulary and formatting

master
Lephe 6 maanden geleden
bovenliggende
commit
bf2eff80d2
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +1
    -1
      README.md
  2. +2
    -2
      fxos/disassembly.c

+ 1
- 1
README.md Bestand weergeven

@@ -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

+ 2
- 2
fxos/disassembly.c Bestand weergeven

@@ -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);


Laden…
Annuleren
Opslaan