At 07:39 PM 9/4/04 +0000, you wrote:
>When I try to execute the CLZ instruction,
>I get an undefined instruction exception.
>According to the ARM docs, the CLZ insn
>is supposed to be implemented on ARM5 and
>above, and LPC21xx are ARM7s. Is this
>instruction supposed to work?
You are the victim of an unfortunate choice of naming convention used by ARM.
From http://www.arm.com/pdfs/DVI0027B_7_R3.pdf pg11
"The ARM7TDMI processor core implements the ARMv4T Instruction Set
Architecture (ISA)."
Note that according to my copy of the ARM Architecture Reference Manual
(ARM ARM?) that the newest architecture version is 5.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, III