add CS_OPT_UNSIGNED option to print immediate in unsigned form. only ARM is supported for now (issue #585)
diff --git a/cs_priv.h b/cs_priv.h
index 7818cd2..bb7cb0d 100644
--- a/cs_priv.h
+++ b/cs_priv.h
@@ -63,7 +63,7 @@
PostPrinter_t post_printer;
cs_err errnum;
ARM_ITStatus ITBlock; // for Arm only
- cs_opt_value detail;
+ cs_opt_value detail, imm_unsigned;
int syntax; // asm syntax for simple printer such as ARM, Mips & PPC
bool doing_mem; // handling memory operand in InstPrinter code
unsigned short *insn_cache; // index caching for mapping.c