view fcdev3b-hacks/src/romvecs-insert.S @ 543:4f378f6c5efa

doc/C1xx-Howto: C155 support
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 03:24:14 +0000
parents 8d9298e0823a
children
line wrap: on
line source

	.text
	.code	32
	.globl	_entry

_entry:	adr	r0, vectors
	ldmia	r0, {r1-r7}
	mov	r0, #0x800000
	stmia	r0, {r1-r7}
	ldr	pc, jumpaddr

vectors:
	.word	0x4000
	.word	0x4004
	.word	0x4008
	.word	0x400C
	.word	0x4010
	.word	0x4014
	.word	0x4018
jumpaddr:
	.word	0x4058