You copied the Doc URL to your clipboard.

CHKA

CHKA (Check Array) compares the unsigned values in two registers.

If the value in the first register is lower than, or the same as, the second, it copies the PC to the LR, and causes a branch to the IndexCheck handler.

Syntax

CHKA Rn, Rm

where:

Rn

contains the array size. Rn must not be PC.

Rm

contains the array index. Rn must not be PC or SP.

Architectures

This instruction is not available in ARM state.

This 16-bit ThumbEE instruction is only available in ARMv7, with ThumbEE support.

Was this page helpful? Yes No