ARM Instruction Reference

Architectures

These instructions are available in all versions of the ARM architecture.

Examples

CMP

r2,r9

CMN

r0,#6400

CMPGT

r13,r7,LSL #2

Incorrect example

CMP

r2,r15,ASR r0 ;

r15 not allowed with register

 

;

controlled shift

ARM DUI 0068B

Copyright © 2000, 2001 ARM Limited. All rights reserved.

4-35

Page 145
Image 145
ARM VERSION 1.2 manual Cmn