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.

Show/hideSyntax

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.

Show/hideArchitectures

This instruction is not available in ARM state.

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

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0489F
Non-ConfidentialID091611