view fcdev3b-hacks/src/romvecs-insert.S @ 536:ae18f9aad7ce

C155 target support implemented in a way that should work with this model's original bootloader
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Nov 2018 23:15:45 +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