You copied the Doc URL to your clipboard.

CMPP

Compare with Tag subtracts the 56-bit address held in the second source register from the 56-bit address held in the first source register, updates the condition flags based on the result of the subtraction, and discards the result.

This is an alias of SUBPS. This means:

  • The encodings in this description are named to match the encodings of SUBPS.
  • The description of SUBPS gives the operational pseudocode for this instruction.

Integer
(Armv8.5)

313029282726252423222120191817161514131211109876543210
10111010110Xm000000Xn11111
Xd

Integer

CMPP <Xn|SP>, <Xm|SP>

is equivalent to

SUBPS XZR, <Xn|SP>, <Xm|SP>

and is always the preferred disassembly.

Assembler Symbols

<Xn|SP>

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

<Xm|SP>

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

Operation

The description of SUBPS gives the operational pseudocode for this instruction.

Was this page helpful? Yes No