Revision 8f99cc6c target-sh4/op.c
b/target-sh4/op.c | ||
---|---|---|
401 | 401 |
RETURN(); |
402 | 402 |
} |
403 | 403 |
|
404 |
void OPPROTO op_movl_rN_rN(void) |
|
405 |
{ |
|
406 |
env->gregs[PARAM2] = env->gregs[PARAM1]; |
|
407 |
RETURN(); |
|
408 |
} |
|
409 |
|
|
410 | 404 |
void OPPROTO op_ldcl_rMplus_rN_bank(void) |
411 | 405 |
{ |
412 | 406 |
env->gregs[PARAM2] = env->gregs[PARAM1]; |
... | ... | |
550 | 544 |
RETURN(); |
551 | 545 |
} |
552 | 546 |
|
553 |
void OPPROTO op_movl_T0_rN(void) |
|
554 |
{ |
|
555 |
env->gregs[PARAM1] = T0; |
|
556 |
RETURN(); |
|
557 |
} |
|
558 |
|
|
559 |
void OPPROTO op_movl_T1_rN(void) |
|
560 |
{ |
|
561 |
env->gregs[PARAM1] = T1; |
|
562 |
RETURN(); |
|
563 |
} |
|
564 |
|
|
565 |
void OPPROTO op_movb_rN_T0(void) |
|
566 |
{ |
|
567 |
T0 = (int32_t) (int8_t) (env->gregs[PARAM1] & 0xff); |
|
568 |
RETURN(); |
|
569 |
} |
|
570 |
|
|
571 |
void OPPROTO op_movub_rN_T0(void) |
|
572 |
{ |
|
573 |
T0 = env->gregs[PARAM1] & 0xff; |
|
574 |
RETURN(); |
|
575 |
} |
|
576 |
|
|
577 |
void OPPROTO op_movw_rN_T0(void) |
|
578 |
{ |
|
579 |
T0 = (int32_t) (int16_t) (env->gregs[PARAM1] & 0xffff); |
|
580 |
RETURN(); |
|
581 |
} |
|
582 |
|
|
583 |
void OPPROTO op_movuw_rN_T0(void) |
|
584 |
{ |
|
585 |
T0 = env->gregs[PARAM1] & 0xffff; |
|
586 |
RETURN(); |
|
587 |
} |
|
588 |
|
|
589 |
void OPPROTO op_movl_rN_T0(void) |
|
590 |
{ |
|
591 |
T0 = env->gregs[PARAM1]; |
|
592 |
RETURN(); |
|
593 |
} |
|
594 |
|
|
595 |
void OPPROTO op_movb_rN_T1(void) |
|
596 |
{ |
|
597 |
T1 = (int32_t) (int8_t) (env->gregs[PARAM1] & 0xff); |
|
598 |
RETURN(); |
|
599 |
} |
|
600 |
|
|
601 |
void OPPROTO op_movub_rN_T1(void) |
|
602 |
{ |
|
603 |
T1 = env->gregs[PARAM1] & 0xff; |
|
604 |
RETURN(); |
|
605 |
} |
|
606 |
|
|
607 |
void OPPROTO op_movw_rN_T1(void) |
|
608 |
{ |
|
609 |
T1 = (int32_t) (int16_t) (env->gregs[PARAM1] & 0xffff); |
|
610 |
RETURN(); |
|
611 |
} |
|
612 |
|
|
613 |
void OPPROTO op_movuw_rN_T1(void) |
|
614 |
{ |
|
615 |
T1 = env->gregs[PARAM1] & 0xffff; |
|
616 |
RETURN(); |
|
617 |
} |
|
618 |
|
|
619 |
void OPPROTO op_movl_rN_T1(void) |
|
620 |
{ |
|
621 |
T1 = env->gregs[PARAM1]; |
|
622 |
RETURN(); |
|
623 |
} |
|
624 |
|
|
625 |
void OPPROTO op_movl_imm_rN(void) |
|
626 |
{ |
|
627 |
env->gregs[PARAM2] = PARAM1; |
|
628 |
RETURN(); |
|
629 |
} |
|
630 |
|
|
631 | 547 |
void OPPROTO op_fmov_frN_FT0(void) |
632 | 548 |
{ |
633 | 549 |
FT0 = env->fregs[PARAM1]; |
Also available in: Unified diff