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

Function RBIT_int

arch/arm64/disassembler/decode2.c:19590–19604  ·  view source on GitHub ↗

rbit_int.xml */

Source from the content-addressed store, hash-verified

19588
19589/* rbit_int.xml */
19590int RBIT_int(context *ctx, Instruction *instr)
19591{
19592 int rc = DECODE_STATUS_UNMATCHED;
19593 /* class iclass_general */
19594 /* sf=x|1|S=0|11010110|opcode2=00000|opcode[5:2]=0000|opcode[1:0]=00|Rn=xxxxx|Rd=xxxxx */
19595 if((INSWORD & 0x7FFFFC00)==0x5AC00000) {
19596 decode_fields32(ENC_RBIT_32_DP_1SRC, ctx, instr);
19597 ctx->d = UINT(ctx->Rd);
19598 ctx->n = UINT(ctx->Rn);
19599 ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20;
19600 if(ctx->sf==0) OK(ENC_RBIT_32_DP_1SRC);
19601 if(ctx->sf==1) OK(ENC_RBIT_64_DP_1SRC);
19602 }
19603 return rc;
19604}
19605
19606/* ret.xml */
19607int RET(context *ctx, Instruction *instr)

Callers 1

decode_iclass_dp_1srcFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected