	
	org	hcoreStartPc
	
	
	
	move	hold,testPic
	moveh	hold,last,>>testPic
	or	r0,last,0		;source
	
	move	hold,frame
	moveh	hold,last,>>frame
	or	r1,last,0		;dest
	
	move	hold,$f1a0
	moveh	hold,last,$0004		
	or	r2,last,0		;count
	
	
	move	r3,1			;
	
loop
	rqld	r0,0
	ld	r10
	
	
	
	add	r0,r0,2
	st	r10,r1,0
	add	r1,r1,2
	cmpeq	r3,r2
	br.tc	loop
	add	r3,r3,1		;delay slot
	nop			;delay slot
	nop			;delay slot
	nop			;delay slot
	
	
	
doAgain	br	doAgain				
	nop			;delay slot
	nop			;delay slot
	nop			;delay slot
	nop			;delay slot
