	
	.org	9
	
	;source 	ext r6:r5
	;destination	int r3
	;count-1	r4
	
copyToIramAndExecute

	esadr	r6,r5				;9
	erqldi	0				;a
	eld	r0				;b
	subi	r4,1				;c
	brts	copyToIramAndExecute		;d
	addi	r5,1		;delay slot	;e
	addtqi	r6,r6,0		;delay slot	;f
	st	r3,r0		;delay slot	;10
	addi	r3,1		;delay slot	;11
	
	br	userStart			;12
	nop			;delay slot	;13 
	nop			;delay slot	;14
	nop			;delay slot	;15
	nop			;delay slot	;16
	
	;17-26 = unused
	
	.org	27	;
	
sdCardIsSDHC
	word	0
	
sdCardRCA
	word	0	
	
startBlock
	
	word	0
	word	0
	
	.org	32
	
userStart	