Zilog Z80380 Manual de usuario Pagina 91

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 116
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 115 116

Comentarios a estos manuales

Sin comentarios