45 |
|
static void add_int16_str (char *old,int16 value); |
46 |
|
static void add_int8_str (char *old,int8 value); |
47 |
|
static void add_dec_int_str (char *old,int32 value); |
48 |
– |
static void add_uint16_str (char *old,uint16 value); |
48 |
|
static void print_range (int from,int to); |
49 |
|
static int decode_address_mode (uint16 eee,uint16 aaa,t_size size); |
50 |
|
static void diss (char *ndest,uint16 *nmem,int &npos,unsigned int adr); |
639 |
|
sprintf (&(old[strlen(old)]),"%d",value); |
640 |
|
} |
641 |
|
|
643 |
– |
static void add_uint16_str (char *old,uint16 value) { |
644 |
– |
sprintf (&(old[strlen(old)]),"$%04x",value); |
645 |
– |
} |
646 |
– |
|
642 |
|
static void print_range (int from,int to) { |
643 |
|
if (from < 8) dest = strcat (dest,"d"); else dest = strcat(dest,"a"); |
644 |
|
add_dec_int_str(dest,from & 7); |
803 |
|
case LONG_SILENT: |
804 |
|
case LONG: add_int32_str(dest, read_int32()+old_mem*2+adr_off); |
805 |
|
break; |
806 |
+ |
default: |
807 |
+ |
abort(); |
808 |
+ |
break; |
809 |
|
} |
810 |
|
break; |
811 |
|
case AD_MULT: { |