ARM / OFFLINE REFERENCE

On this page
← Home

PACDA, PACDZA

Pointer Authentication Code for data address, using key A

This instruction calculates and inserts a Pointer Authentication Code for a data address, using a modifier and key A.

The address is in the general-purpose register that is specified by <Xd>.

The modifier is:

Integer class
(FEAT_PAuth)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1 1 0 1 1 0 1 0 1 1 0 0 0 0 0 1 0 0 Z 0 1 0 Rn Rd
sf S opcode2

PACDA encoding

(Z == 0)

PACDA <Xd>, <Xn|SP>

PACDZA encoding

(Z == 1 && Rn == 11111)

PACDZA <Xd>

Decode (all encodings)

if !IsFeatureImplemented(FEAT_PAuth) then EndOfDecode(Decode_UNDEF); end;

var source_is_sp : boolean = FALSE;
let d : integer = UInt(Rd);
let n : integer = UInt(Rn);

if Z == '0' then // PACDA
    if n == 31 then source_is_sp = TRUE; end;
else // PACDZA
    if n != 31 then EndOfDecode(Decode_UNDEF); end;
end;

Assembler Symbols

<Xd>

Is the 64-bit name of the general-purpose destination register, encoded in the "Rd" field.

<Xn|SP>

Is the 64-bit name of the general-purpose source register or stack pointer, encoded in the "Rn" field.

Operation

if source_is_sp then
    X{64}(d) = AddPACDA(X{64}(d), SP{64}());
else
    X{64}(d) = AddPACDA(X{64}(d), X{64}(n));
end;

Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.