ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_68k.cpp
(Generate patch)

Comparing mon/src/mon_68k.cpp (file contents):
Revision 1.2 by cebix, 1999-10-04T21:16:02Z vs.
Revision 1.3 by cebix, 1999-10-05T14:43:43Z

# Line 45 | Line 45 | static void add_int32_str (char *old,int
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);
# Line 640 | Line 639 | static void add_dec_int_str (char *old,i
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);
# Line 808 | Line 803 | static int decode_address_mode (uint16 e
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: {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines