
M16C/62
;====================================================================
; exit() function. This function is used in case of accidental return
; from main() or debugging code could be placed here.
;---------------------------------------------------------------------
.glb
_exit
.glb
$exit
_exit:
; End program
$exit:
jmp
_exit
;====================================================================
; dummy interrupt function. Used for all unassigned interrupts(see end
; of sect30.inc.
;---------------------------------------------------------------------
dummy_int:
reit
.end
;*******************************************************************************
;
; sect30.inc : Customized section and macro definitions for the M30624
; (M16C/62) microcontroller using the NC30 compiler.
;
; Description : This file is specific to the M30624 microcontroller and adapted
; for use with the MSV1632 Starter Kit. UART1 interrupt
; vectors are used for the Starter Kit debugger.
;
;
; Copyright 1995-2001 MITSUBISHI ELECTRIC CORPORATION
; MITSUBISHI ELECTRIC SEMICONDUCTOR SYSTEMS CORPORATION AND
; MITSUBISHI ELECTRIC AND ELECTRONICS USA
; All Rights Reserved.
;
;
;
; $Id:
;
;******************************************************************************
;---------------------------------------------------------------------
; HEEP SIZE definition. Only used for memory allocate functions
; (malloc, realloc, etc). If not required and need this RAM for other
; usage, reduce the value of HEAPSIZE.
;---------------------------------------------------------------------
HEAPSIZE
.equ
300h
C Compiler Startup Files for the M16C/62 MCU
AN-DECE-MCU-23-A
February 2002
6