ARM VERSION 1.2 Ficha Técnica Página 155

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 176
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 154
Semihosting
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-17
5.4.7 SYS_READC (0x07)
Reads a byte from the console.
Entry
Register r1 must contain zero. There are no other parameters or values possible.
Return
On exit, r0 contains the byte read from the console.
5.4.8 SYS_ISERROR (0x08)
Determines whether the return code from another semihosting call is an error status or
not. This call is passed a parameter block containing the error code to examine.
Entry
On entry, r1 contains a pointer to a one-word data block:
word 1 This is the required status word to check.
Return
On exit, r0 contains:
0 if the status word is not an error indication
a nonzero value if the status word is an error indication.
Vista de página 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 175 176

Comentários a estes Manuais

Sem comentários