mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-29 00:10:33 +00:00
[tests] test_m68k.c fixup some minors output glitch
Minors glitch fixup and/or output consmetics.
This commit is contained in:
parent
3593749e29
commit
fa1ad4ca9d
@ -85,9 +85,9 @@ static void print_insn_detail(cs_insn *ins)
|
||||
if (m68k->op_size.fpu_size == M68K_FPU_SIZE_SINGLE)
|
||||
printf("\t\toperands[%u].type: IMM = %f\n", i, op->simm);
|
||||
else if (m68k->op_size.fpu_size == M68K_FPU_SIZE_DOUBLE)
|
||||
printf("\t\toperands[%u].type: IMM = %f\n", i, op->dimm);
|
||||
printf("\t\toperands[%u].type: IMM = %lf\n", i, op->dimm);
|
||||
else
|
||||
printf("\t\toperands[%u].type: IMM = <unsupported>", i);
|
||||
printf("\t\toperands[%u].type: IMM = <unsupported>\n", i);
|
||||
break;
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ static void test()
|
||||
|
||||
printf("****************\n");
|
||||
printf("Platform: %s\n", platforms[i].comment);
|
||||
print_string_hex("Code:", platforms[i].code, platforms[i].size);
|
||||
print_string_hex("Code: ", platforms[i].code, platforms[i].size);
|
||||
printf("Disasm:\n");
|
||||
|
||||
for (j = 0; j < count; j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user