dcbf disasm.

This commit is contained in:
Rick Gibbed 2013-06-02 07:56:17 -07:00
parent cf57481a0e
commit 105aee506d
1 changed files with 13 additions and 2 deletions

View File

@ -744,8 +744,19 @@ XEDISASMR(stfsx, 0x7C00052E, X )(InstrData& i, InstrDisasm& d) {
// Cache management (A-27)
XEDISASMR(dcbf, 0x7C0000AC, X )(InstrData& i, InstrDisasm& d) {
XEINSTRNOTIMPLEMENTED();
return 1;
d.Init("dcbf", "Data Cache Block Flush", 0);
/*
switch (i.X.RT & 3)
{
case 0: "dcbf";
case 1: "dcbfl"
case 2: RESERVED
case 3: "dcbflp"
}
*/
d.AddRegOperand(InstrRegister::kGPR, i.X.RA, InstrRegister::kRead);
d.AddRegOperand(InstrRegister::kGPR, i.X.RB, InstrRegister::kRead);
return d.Finish();
}
XEDISASMR(dcbst, 0x7C00006C, X )(InstrData& i, InstrDisasm& d) {