Revision 833ed386 target-sh4/translate.c

b/target-sh4/translate.c
298 298
    case 0x0009:		/* nop */
299 299
	return;
300 300
    case 0x001b:		/* sleep */
301
	assert(0);		/* XXXXX */
301
	if (ctx->memidx) {
302
		gen_op_sleep();
303
	} else {
304
		gen_op_raise_illegal_instruction();
305
		ctx->bstate = BS_EXCP;
306
	}
302 307
	return;
303 308
    }
304 309

  

Also available in: Unified diff