aboutsummaryrefslogtreecommitdiff
path: root/c_emulator/reset_vec.S
blob: 526bbc7958c5fa56d81bc03480b3563811d4779c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.global _start

.text

_start:
	auipc	t0, 0x0
	addi	a1, t0, 32
	csrr	a0, mhartid
	ld	t0, 24(t0)
	jr	t0
.short  0x0000
.word	0x00000000, 0x80000000