remove "BX using PC as operand" diagnostic message

This commit is contained in:
zeromus 2011-01-08 03:32:19 +00:00
parent 46ecfcf7fd
commit 1d2ceefbe9
2 changed files with 2 additions and 2 deletions

View File

@ -3209,7 +3209,7 @@ TEMPLATE static u32 FASTCALL OP_BX(const u32 i)
if (REG_POS(i, 0) == 15) if (REG_POS(i, 0) == 15)
{ {
printf("ARM%c: BX using PC as operand\n", PROCNUM?'7':'9'); //printf("ARM%c: BX using PC as operand\n", PROCNUM?'7':'9');
//emu_halt(); //emu_halt();
} }
cpu->CPSR.bits.T = BIT0(tmp); cpu->CPSR.bits.T = BIT0(tmp);

View File

@ -1135,7 +1135,7 @@ TEMPLATE static u32 FASTCALL OP_BX_THUMB(const u32 i)
//----- the instruction are UNPREDICTABLE (because the value read for R15 has bits[1:0]==0b10). //----- the instruction are UNPREDICTABLE (because the value read for R15 has bits[1:0]==0b10).
if (Rm == 15) if (Rm == 15)
{ {
printf("THUMB%c: BX using PC as operand\n", PROCNUM?'7':'9'); //printf("THUMB%c: BX using PC as operand\n", PROCNUM?'7':'9');
//emu_halt(); //emu_halt();
} }
cpu->CPSR.bits.T = BIT0(Rm); cpu->CPSR.bits.T = BIT0(Rm);