Previous 199869 Revisions Next

r33751 Monday 8th December, 2014 at 22:32:54 UTC by David Haywood
improve (nw)
[src/emu/cpu/arcompact]arcompactdasm.c

trunk/src/emu/cpu/arcompact/arcompactdasm.c
r242262r242263
689689
690690int arcompact_handle04_20_dasm(DASM_OPS_32)
691691{
692   // todo, other bits (in none long immediate mode at least)
693
694   int size = 4;
692695   int C = (op & 0x00000fc0) >> 6;
696   UINT8 condition = op & 0x0000001f;
697
693698   op &= ~0x00000fc0;
694699   
695700   if (C == LIMM_REG)
696701   {
697702      UINT32 limm;
698703      GET_LIMM_32;
699
700
701      print("Jcc %08x (%08x)", limm, op);
704      size = 8;
705     
706      print("J(%s) %08x (%08x)", conditions[condition], limm, op);
702707   }
703708   else
704709   {
705      print("Jcc (%04x) (%08x)", C, op);
710      print("J(%s) (r%d) (%08x)", conditions[condition], C, op);
706711   }
707712
708   return 4;
713   return size;
709714}
710715
716
717
711718int arcompact_handle04_21_dasm(DASM_OPS_32)  { print("Jcc.D (%08x)", op); return 4;}
712719int arcompact_handle04_22_dasm(DASM_OPS_32)  { print("JLcc (%08x)", op); return 4;}
713720int arcompact_handle04_23_dasm(DASM_OPS_32)  { print("JLcc.D (%08x)", op); return 4;}


Previous 199869 Revisions Next


© 1997-2024 The MAME Team