Home | History | Annotate | Download | only in mips

Lines Matching full:instruction

28 // A Disassembler object is used to disassemble a block of code instruction by
29 // instruction. The default implementation of the NameConverter object can be
83 // Writes one disassembled instruction into 'buffer' (0-terminated).
84 // Returns the length of the disassembled machine instruction in bytes.
85 int InstructionDecode(byte* instruction);
95 void PrintRs(Instruction* instr);
96 void PrintRt(Instruction* instr);
97 void PrintRd(Instruction* instr);
98 void PrintFs(Instruction* instr);
99 void PrintFt(Instruction* instr);
100 void PrintFd(Instruction* instr);
101 void PrintSa(Instruction* instr);
102 void PrintSd(Instruction* instr);
103 void PrintSs1(Instruction* instr);
104 void PrintSs2(Instruction* instr);
105 void PrintBc(Instruction* instr);
106 void PrintCc(Instruction* instr);
107 void PrintFunction(Instruction* instr);
108 void PrintSecondaryField(Instruction* instr);
109 void PrintUImm16(Instruction* instr);
110 void PrintSImm16(Instruction* instr);
111 void PrintXImm16(Instruction* instr);
112 void PrintXImm26(Instruction* instr);
113 void PrintCode(Instruction* instr); // For break and trap instructions.
114 // Printing of instruction name.
115 void PrintInstructionName(Instruction* instr);
118 int FormatRegister(Instruction* instr, const char* option);
119 int FormatFPURegister(Instruction* instr, const char* option);
120 int FormatOption(Instruction* instr, const char* option);
121 void Format(Instruction* instr, const char* format);
122 void Unknown(Instruction* instr);
124 // Each of these functions decodes one particular instruction type.
125 void DecodeTypeRegister(Instruction* instr);
126 void DecodeTypeImmediate(Instruction* instr);
127 void DecodeTypeJump(Instruction* instr);
165 void Decoder::PrintRs(Instruction* instr) {
171 void Decoder::PrintRt(Instruction* instr) {
177 void Decoder::PrintRd(Instruction* instr) {
189 void Decoder::PrintFs(Instruction* instr) {
195 void Decoder::PrintFt(Instruction* instr) {
201 void Decoder::PrintFd(Instruction* instr) {
208 void Decoder::PrintSa(Instruction* instr) {
215 void Decoder::PrintSd(Instruction* instr) {
222 void Decoder::PrintSs1(Instruction* instr) {
229 void Decoder::PrintSs2(Instruction* instr) {
238 void Decoder::PrintBc(Instruction* instr) {
245 void Decoder::PrintCc(Instruction* instr) {
252 void Decoder::PrintUImm16(Instruction* instr) {
259 void Decoder::PrintSImm16(Instruction* instr) {
266 void Decoder::PrintXImm16(Instruction* instr) {
273 void Decoder::PrintXImm26(Instruction* instr) {
280 void Decoder::PrintCode(Instruction* instr) {
282 return; // Not a break or trap instruction.
301 default: // Not a break or trap instruction.
307 // Printing of instruction name.
308 void Decoder::PrintInstructionName(Instruction* instr) {
314 int Decoder::FormatRegister(Instruction* instr, const char* format) {
336 int Decoder::FormatFPURegister(Instruction* instr, const char* format) {
365 int Decoder::FormatOption(Instruction* instr, const char* format) {
439 // Format takes a formatting string for a whole instruction and prints it into
442 void Decoder::Format(Instruction* instr, const char* format) {
457 // which will just print "unknown" of the instruction bits.
458 void Decoder::Unknown(Instruction* instr) {
463 void Decoder::DecodeTypeRegister(Instruction* instr) {
808 void Decoder::DecodeTypeImmediate(Instruction* instr) {
936 void Decoder::DecodeTypeJump(Instruction* instr) {
950 // Disassemble the instruction at *instr_ptr into the output buffer.
952 Instruction* instr = Instruction::At(instr_ptr);
953 // Print raw instruction bytes.
958 case Instruction::kRegisterType: {
962 case Instruction::kImmediateType: {
966 case Instruction::kJumpType: {
975 return Instruction::kInstrSize;
1031 byte* instruction) {
1033 return d.InstructionDecode(instruction);
1038 int Disassembler::ConstantPoolSizeAt(byte* instruction) {