 	
	.incdir		"F:\git\goldmomo_endlos\assembler_files\ucore\hcore"
	.include	"tools.i"
	
	org	hcoreStartPc
	
	.def	spLast		$d4000000
	.def	stackSize	1048576	;4 MegaByte per core
	
	.def	totalPixelCount		324000		;720*450
	
startHCore

	gssr	hold,0			;get core number
	cmpeq	last,0			;core 0?
	br.tc	end			;only core 0
	nop
	nop
	nop
	nop

	move	hold,totalPixelCount		;delay slot
	moveh	hold,last,>>totalPixelCount	;delay slot
	or	r1,last,0			;delay slot
	move	r0,3
	nop
	
	.execm	udiv32(r3,r2,r1,r0)

end	br	end
	nop
	nop
	nop
	nop
