/************************************************************************/
/* CQBBEL GNU CC Common Control Software / (C) Toshio MURAI 2011, 2012	*/
/*      This is Free Software;   You can redistribute this software     */
/*      and/or modify it under the terms of the GNU General Public      */
/*      License version 3, or (at your option) any later version.       */
/************************************************************************/

	.text
.global _start
_start:
	mov	hilo(_systemStack), sp

	jarl	_initializeMemory, r31
	jarl	_main, r31

	halt

.global _enableInterrupt
_enableInterrupt:
	ei
	jmp [r31]

.global _disableInterrupt
_disableInterrupt:
	di
	jmp [r31]


;/* For Interrupt Routine	*/
;	.data
;.global __ep
;.global __gp
;__ep:
;	.long	0
;__gp:
;	.long	0
