ARM Processor Instruction Set
ARM Processor Instruction Set
ARM Processor Instruction Set
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>ARM</strong> <strong>Processor</strong> <strong>Instruction</strong> <strong>Set</strong><br />
5.12.3 Assembler syntax<br />
CDP{cond} p#,,cd,cn,cm{,}<br />
{cond} two character condition mnemonic, see ➲Figure 5-2:<br />
Condition codes on page 5-3<br />
p# the unique number of the required coprocessor<br />
<br />
cd, cn and cm<br />
<br />
evaluated to a constant and placed in the CP Opc field<br />
evaluate to the valid coprocessor register numbers CRd, CRn<br />
and CRm respectively<br />
where present, is evaluated to a constant and placed in the<br />
CP field<br />
5.12.4 Examples<br />
CDP p1,10,c1,c2,c3 ;request coproc 1 to do operation 10<br />
;on CR2 and CR3, and put the result in CR1<br />
CDPEQ p2,5,c1,c2,c3,2;<br />
;if Z flag is set request coproc 2 to do<br />
;operation 5 (type 2) on CR2 and CR3,<br />
;and put the result in CR1<br />
Preliminary - Unrestricted<br />
<strong>ARM</strong>7500 Data Sheet<br />
<strong>ARM</strong> DDI 0050C<br />
5-43