ARM VERSION 1.2 Ficha Técnica Página 164

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 176
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 163
Semihosting
5-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
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.
Entry
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.
Return
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.
5.4.22 SYS_TICKFREQ (0x31)
Returns the tick frequency.
Entry
Register r1 must contain 0 on entry to this routine.
Return
On exit, r0 contains either:
the number ticks per second
•–1 if the target does not know the value of one tick. Multi-ICE does not support
this SWI and always returns 1.
Vista de página 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 175 176

Comentários a estes Manuais

Sem comentários