cmpa

Sizes

long, word

Default Size

word

Operands

Op 1
Dn/An/(An)/Im/ea/(An, Xn)
Op 2
An

Compares the second operand with the first operand, it sets the flags accordingly which will be used by the branching instructions. When using word size, the first operand is sign extended to long and the second is read and written as a long.

Loading...