public override SparcInstruction DisassembleInstruction() { if (!imageReader.IsValid) { return(null); } ops.Clear(); var addr = imageReader.Address; uint wInstr = imageReader.ReadBeUInt32(); instrCur = rootDecoder.Decode(wInstr, this); instrCur.Address = addr; instrCur.Length = 4; instrCur.InstructionClass |= wInstr == 0 ? InstrClass.Zero : 0; return(instrCur); }
public override Address ReadCodeAddress(int size, EndianImageReader rdr, ProcessorState state) { return(Address.Ptr32(rdr.ReadBeUInt32())); }