
	org	hcoreStartPc

	nop
	nop
	nop
	nop
	nop

	gssr	hold,0			;get core number
	cmpeq	last,0
	br.tc	notCoreZero
	nop			;delay slot
	nop			;delay slot
	nop			;delay slot
	nop			;delay slot
	nop
	
	move	r1,$00f
	move	r2,$0f0
	move	r3,$f00
	nop
	or	r1,r1,r2
	nop
	or	r1,r1,r3
	nop
	move	hold,r1
	
	move	hold,$0b4a
	moveh	hold,last,$d000
	or	r0,last,0
	nop
	nop
	
drw	
	move	hold,r1

	stw	last,r0,0		;store
	stw	last,r0,2		;store
	stw	last,r0,4		;store
	stw	last,r0,6		;store
	stw	last,r0,8		;store
	stw	last,r0,10	;store
	stw	last,r0,12	;store
	stw	last,r0,14	;store
	
	br	drw
	add	r1,r1,1
	nop
	nop
	nop
	nop

	
notCoreZero	br	notCoreZero
	nop
	nop
	nop
	nop
	nop
	
	
	
	
	
	
	
	
	
	
	
	