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

Function and_z_zi

arch/arm64/disassembler/decode2.c:31029–31046  ·  view source on GitHub ↗

and_z_zi.xml */

Source from the content-addressed store, hash-verified

31027
31028/* and_z_zi.xml */
31029int and_z_zi(context *ctx, Instruction *instr)
31030{
31031 int rc = DECODE_STATUS_UNMATCHED;
31032 /* class iclass_sve */
31033 /* 00000101|opc=10|0000|imm13=xxxxxxxxxxxxx|Zdn=xxxxx */
31034 if((INSWORD & 0xFFFC0000)==0x5800000) {
31035 decode_fields32(ENC_AND_Z_ZI_, ctx, instr);
31036 if(!HaveSVE() && !HaveSME()) {
31037 UNDEFINED;
31038 }
31039 ctx->dn = UINT(ctx->Zdn);
31040 DecodeBitMasksCheckUndefined(SLICE(ctx->imm13,12,12),SLICE(ctx->imm13,5,0));
31041 DecodeBitMasks_ReturnType dbmrt = DecodeBitMasks(SLICE(ctx->imm13,12,12),SLICE(ctx->imm13,5,0),SLICE(ctx->imm13,11,6));
31042 ctx->imm = dbmrt.wmask;
31043 OK(ENC_AND_Z_ZI_);
31044 }
31045 return rc;
31046}
31047
31048/* and_z_zz.xml */
31049int and_z_zz(context *ctx, Instruction *instr)

Callers 1

Calls 2

decode_fields32Function · 0.85
DecodeBitMasksFunction · 0.85

Tested by

no test coverage detected