Lines Matching refs:mode
9 void print_insn_detail_x86(csh ud, cs_mode mode, cs_insn *ins);
74 printf("Syntax: %s [-d] <arch+mode> <assembly-hexstring> [start-address-in-hex-format]\n", prog);
75 printf("\nThe following <arch+mode> options are supported:\n");
78 printf(" x16: 16-bit mode (X86)\n");
79 printf(" x32: 32-bit mode (X86)\n");
80 printf(" x64: 64-bit mode (X86)\n");
81 printf(" x16att: 16-bit mode (X86) syntax-att\n");
82 printf(" x32att: 32-bit mode (X86) syntax-att\n");
83 printf(" x64att: 64-bit mode (X86) syntax-att\n");
89 printf(" thumb: thumb mode\n");
94 printf(" arm64: aarch64 mode\n");
128 char *mode;
149 mode = argv[2];
165 mode = argv[1];
183 if (!strcmp(mode, "arm")) {
188 if (!strcmp(mode, "armb") || !strcmp(mode, "armbe") ) {
193 if (!strcmp(mode, "arml")) {
198 if (!strcmp(mode, "thumb")) {
203 if (!strcmp(mode, "thumbbe")) {
208 if (!strcmp(mode, "thumble")) {
213 if (!strcmp(mode, "arm64")) {
218 if (!strcmp(mode, "arm64be")) {
223 if (!strcmp(mode, "mips")) {
228 if (!strcmp(mode, "mipsbe")) {
233 if (!strcmp(mode, "mips64")) {
238 if (!strcmp(mode, "mips64be")) {
243 if (!strcmp(mode, "x16")) {
249 if (!strcmp(mode, "x32")) {
255 if (!strcmp(mode, "x64")) {
261 if (!strcmp(mode, "x16att")) {
270 if (!strcmp(mode,"x32att")) {
279 if (!strcmp(mode,"x64att")) {
288 if (!strcmp(mode,"ppc64")) {
293 if (!strcmp(mode,"ppc64be")) {
298 if (!strcmp(mode,"sparc")) {
303 if (!strcmp(mode, "systemz") || !strcmp(mode, "sysz") || !strcmp(mode, "s390x")) {
308 if (!strcmp(mode,"xcore")) {