ARM VERSION 1.2 Ficha Técnica Página 68

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 176
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 67
ARMulator Reference
4-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.2.8 ARMulif_GetSPSR
This function returns the current contents of the SPSR for a specified processor mode.
Syntax
ARMword ARMulif_GetSPSR(RDI_ModuleDesc *mdesc, ARMword mode)
where:
mdesc
is the handle for the core.
mode
is the processor mode for the SPSR you want to read.
User mode
ARMulif_GetSPSR
returns the current contents of the CPSR if
mode
is
USER32MODE
.
4.2.9 ARMulif_SetSPSR
This function writes a value to the SPSR for a specified processor mode.
Syntax
void ARMulif_SetSPSR(RDI_ModuleDesc *mdesc, ARMword mode, ARMword value)
where:
mdesc
is the handle for the core.
mode
is the processor mode for the SPSR you want to write.
value
is the value to be written to the SPSR for the specified mode.
User mode
ARMulif_SetSPSR
does nothing if
mode
is
USER32MODE
.
Vista de página 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 175 176

Comentários a estes Manuais

Sem comentários