From 10827a6f32436bafeb248c49de14dda51741ce17 Mon Sep 17 00:00:00 2001 From: Inokentiy Babushkin Date: Fri, 13 May 2016 09:08:36 +0200 Subject: [PATCH] Reduced confusion caused by the m68k test being out of date * added a new case branch to account for floating point operands. --- tests/test_m68k.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_m68k.c b/tests/test_m68k.c index 18883f91..400e3e87 100644 --- a/tests/test_m68k.c +++ b/tests/test_m68k.c @@ -115,6 +115,10 @@ static void print_insn_detail(cs_insn *ins) printf("\t\taddress mode: %s\n", s_addressing_modes[op->address_mode]); break; + case M68K_OP_FP_SINGLE: + printf("\t\toperands[%u].type: FP_SINGLE\n", i); + printf("\t\t\toperands[%u].simm: %f\n", i, op->simm); + break; } }