ARM Technical Support Knowledge Articles

USING DPP1 AND DPP2 IN ASSEMBLER ROUTINES

Applies to: A166 Macro Assembler

Answer


Information in this article applies to:


QUESTION

On page 121 of the C166 Compiler manual (06.96) it states that "The usage of DPP1 and DPP2 is not allowed in assembler subroutines". I would like to use either DPP1 or DPP2 in my assembler to speed up an operation. Is that possible?

ANSWER

Yes, you may use DPP1 and DPP2 in assembler routines providing:

  1. You disable interrupts while using them.
  2. You restore the original values of the registers when you return to C or re-enable interrupts.

Article last edited on: 2005-07-09 11:51:04

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential