ARM VERSION 1.2 User Manual

Page 145

Advertising
background image

ARM Instruction Reference

ARM DUI 0068B

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

4-35

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

Advertising