Zilog Z80380 Manual do Utilizador Página 91

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 90
UM004001-COR1103 A–1
380 C-COMPILER USERS MANUAL
APPENDIX A
INITIALIZATION AND LINK FILES
;--------------------------------------------------------------
INITIALIZATION FILE
The following is the initialization file that is included with the 380 C-comiler installation.
;***********************************************************************
;* Z380Boot: C Runtime Startup
;* Copyright (c) ZiLOG, 1999
;***********************************************************************
;***********************************************************************
.sect ".bss" ; In case no-one else names it
;***********************************************************************
.sect ".startup" ; This should be placed properly
.def _c_int0
.def __exit
.ref _main
.ref .BSS_BASE,.BSS_LENGTH
.ref .TOS
.INITBSS .equ 1 ; Zero the .bss section ?
;**********************************
; Program entry point
;**********************************
_c_int0:
setc xm ; Extended Mode (32-bit pointers)
setc lw ; LongWord Mode(32-bit integers)
ldw.iw sp,.TOS ; Setup SP
.if .INITBSS
;------ Initialize the .BSS section to zero
Vista de página 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 115 116

Comentários a estes Manuais

Sem comentários