mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
sh4: fix tas.b @Rn instruction
(Shin-ichiro KAWASAKI, based on a patch from Andrzej Zaborowski) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5074 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f066404827
commit
825c69ce02
2 changed files with 6 additions and 8 deletions
|
@ -1100,7 +1100,12 @@ void _decode_opc(DisasContext * ctx)
|
|||
gen_op_shlr16_Rn(REG(B11_8));
|
||||
return;
|
||||
case 0x401b: /* tas.b @Rn */
|
||||
gen_op_tasb_rN(REG(B11_8));
|
||||
gen_op_movl_rN_T0(REG(B11_8));
|
||||
gen_op_movl_T0_T1();
|
||||
gen_op_ldub_T0_T0(ctx);
|
||||
gen_op_cmp_eq_imm_T0(0);
|
||||
gen_op_or_imm_T0(0x80);
|
||||
gen_op_stb_T0_T1(ctx);
|
||||
return;
|
||||
case 0xf00d: /* fsts FPUL,FRn - FPSCR: Nothing */
|
||||
gen_op_movl_fpul_FT0();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue