MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / LSRV

Function LSRV

arch/arm64/disassembler/decode2.c:17272–17290  ·  view source on GitHub ↗

lsrv.xml */

Source from the content-addressed store, hash-verified

17270
17271/* lsrv.xml */
17272int LSRV(context *ctx, Instruction *instr)
17273{
17274 int rc = DECODE_STATUS_UNMATCHED;
17275 /* class iclass_general */
17276 /* sf=x|op=0|S=0|11010110|Rm=xxxxx|opcode2[5:2]=0010|op2=01|Rn=xxxxx|Rd=xxxxx */
17277 if((INSWORD & 0x7FE0FC00)==0x1AC02400) {
17278 decode_fields32(ENC_LSRV_32_DP_2SRC, ctx, instr);
17279 ctx->d = UINT(ctx->Rd);
17280 ctx->n = UINT(ctx->Rn);
17281 ctx->m = UINT(ctx->Rm);
17282 ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20;
17283 ctx->shift_type = DecodeShift(ctx->op2);
17284 /* unconditional alias */
17285 if(LSR_LSRV(ctx, instr)==0) return 0;
17286 if(ctx->sf==0) OK(ENC_LSRV_32_DP_2SRC);
17287 if(ctx->sf==1) OK(ENC_LSRV_64_DP_2SRC);
17288 }
17289 return rc;
17290}
17291
17292/* lsr_lsrv.xml */
17293int LSR_LSRV(context *ctx, Instruction *instr)

Callers 1

decode_iclass_dp_2srcFunction · 0.85

Calls 3

decode_fields32Function · 0.85
DecodeShiftFunction · 0.85
LSR_LSRVFunction · 0.85

Tested by

no test coverage detected