Home | History | Annotate | Download | only in codeflinger

Lines Matching refs:instr

80 static int32_t bits_signed(uint32_t instr, uint32_t msb, uint32_t lsb)
83 value = ((int32_t)instr) << (31 - msb);
88 static uint32_t bits_unsigned(uint32_t instr, uint32_t msb, uint32_t lsb)
92 return ((instr >> lsb) & mask);
95 static void get_token(const char *instr, uint32_t index, char *token)
98 for(i = index, j = 0; i < strlen(instr); ++i)
100 if(instr[index] == '<' && instr[i] == '>')
102 token[j++] = instr[i];
105 else if(instr[index] != '<' && instr[i] == '<')
111 token[j++] = instr[i];
270 int arm64_disassemble(uint32_t code, char* instr)
276 if(instr == NULL)
292 strcpy(instr, "Unknown Instruction");
299 instr[0] = '\0';
306 strcat(instr, instr_part);
310 strcat(instr, token);