5.4.21. SYS_ELAPSED (0x30)

Returns the number of elapsed target ticks since the support code started execution. Use SYS_TICKFREQ to determine the tick frequency.


On entry, r1 points to a two-word data block to be used for returning the number of elapsed ticks:

word 1

The least significant word in the doubleword value.

word 2

The most significant word.


On exit, :

  • r0 contains –1 if r1 does point to a doubleword containing the number of elapsed ticks. Multi-ICE does not support this SWI and always returns –1 in r0.

  • r1 points to a doubleword (low-order word first) that contains the number of elapsed ticks.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D