addg
Add with Tag
ADDG <Xd|SP>, <Xn|SP>, #<uimm6>, #<uimm4>
Adds an immediate to an address, modifying the Allocation Tag (MTE).
Details
The Add with Tag instruction adds an immediate to an address, modifying the Allocation Tag (MTE).
Pseudocode Operation
Xd ← Xn + uimm6
// Flags affected: N, Z, C, V
Example
ADDG x0, x1, #8, #3
Encoding
Binary Layout
10010001
00
uimm6
00
uimm4
Xn
Xd
Operands
-
Xd
Destination 64-bit integer register -
Xn
First source / base 64-bit integer register -
uimm6
Address Offset -
uimm4
Tag Offset