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

Function NEG_SUB_addsub_shift

arch/arm64/disassembler/decode2.c:18401–18412  ·  view source on GitHub ↗

neg_sub_addsub_shift.xml */

Source from the content-addressed store, hash-verified

18399
18400/* neg_sub_addsub_shift.xml */
18401int NEG_SUB_addsub_shift(context *ctx, Instruction *instr)
18402{
18403 int rc = DECODE_STATUS_UNMATCHED;
18404 /* class iclass_no_s */
18405 /* sf=x|op=1|S=0|01011|shift=xx|0|Rm=xxxxx|imm6=xxxxxx|Rn=11111|Rd=xxxxx */
18406 if((INSWORD & 0x7F2003E0)==0x4B0003E0) {
18407 decode_fields32(ENC_NEG_SUB_32_ADDSUB_SHIFT, ctx, instr);
18408 if(ctx->sf==0) OK(ENC_NEG_SUB_32_ADDSUB_SHIFT);
18409 if(ctx->sf==1) OK(ENC_NEG_SUB_64_ADDSUB_SHIFT);
18410 }
18411 return rc;
18412}
18413
18414/* neg_advsimd.xml */
18415int NEG_advsimd(context *ctx, Instruction *instr)

Callers 1

SUB_addsub_shiftFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected