mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
sh2 drc, small fixes (cycle counting, invalidation)
This commit is contained in:
parent
8d04801518
commit
68e50296e6
5 changed files with 67 additions and 47 deletions
|
@ -207,6 +207,15 @@ static int data_processing(unsigned int pc, unsigned int insn, char *buf, size_t
|
|||
snprintf(buf, buf_len, "%s%s%s %s,%s,%s%s", name, condition(insn), s, register_name(rd), register_name(rn), register_name(rm), shift(insn, tmp_buf, sizeof(tmp_buf)));
|
||||
}
|
||||
}
|
||||
else if ((insn & 0x0fb00000) == 0x03000000)
|
||||
{
|
||||
unsigned int imm;
|
||||
char *half = (insn & 0x00400000) ? "t" : "w";
|
||||
|
||||
imm = (insn & 0x00000fff) | ((insn & 0x000f0000) >> 4);
|
||||
|
||||
snprintf(buf, buf_len, "mov%s%s %s%s", half, condition(insn), register_name(rd), immediate(imm, 0, 1, tmp_buf, sizeof(tmp_buf)));
|
||||
}
|
||||
else
|
||||
{
|
||||
unsigned int imm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue