Diff for /np2/generic/unasm.c between versions 1.3 and 1.5

version 1.3, 2004/03/07 01:23:14 version 1.5, 2005/02/07 14:46:10
Line 68  static char *set_hex(char *str, UINT32 v Line 68  static char *set_hex(char *str, UINT32 v
   
 // ----  // ----
   
 UINT unasm(UNASM r, const BYTE *ptr, UINT leng, BOOL d, UINT32 addr) {  UINT unasm(UNASM r, const UINT8 *ptr, UINT leng, BOOL d, UINT32 addr) {
   
 const BYTE      *org;  const UINT8     *org;
 const BYTE      *term;  const UINT8     *term;
         UINT    flag;          UINT    flag;
         REG8    ope;          REG8    ope;
         UINT32  ctl;          UINT32  ctl;
Line 487  opeana_ea: Line 487  opeana_ea:
                         goto opeana_ea;                          goto opeana_ea;
   
                 case OP1_REx:                  case OP1_REx:
                         p = set_reg(p, RSTR_32 + (ope & 7));                          p = set_reg(p, (RSTR_32 << 3) + (ope & 7));
                         p[0] = ',';                          p[0] = ',';
                         p[1] = ' ';                          p[1] = ' ';
                         p[2] = (char)mnemonic;                          p[2] = (char)mnemonic;
Line 504  opeana_ea: Line 504  opeana_ea:
                         p[3] = ',';                          p[3] = ',';
                         p[4] = ' ';                          p[4] = ' ';
                         p += 5;                          p += 5;
                         p = set_reg(p, RSTR_32 + (ope & 7));                          p = set_reg(p, (RSTR_32 << 3) + (ope & 7));
                         mnemonic = RSTR_MOV;                          mnemonic = RSTR_MOV;
                         break;                          break;
   

Removed from v.1.3  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>