view fcdev3b-hacks/src/romvecs-insert.S @ 612:0a845c97b8b4

C1xx aftermarket FFS: add ST equivalent of 28F320C3T
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 18 Jun 2019 04:59:58 +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