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
CHKARn, 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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.