/* Construction function for DMAMOV instruction. This function fills the program buffer with the constructed instruction. */
static INLINE int XDmaPs_Instr_DMAMOV(char *DmaProg, unsigned Rd, u32 Imm)
/* Construction function for DMAMOV instruction. This function fills the program buffer with the constructed instruction. */
static INLINE int XDmaPs_Instr_DMAMOV(char *DmaProg, unsigned Rd, u32 Imm)
{
	*DmaProg = 0xBC;
	*(DmaProg + 1) = Rd & 0x7;
	XDmaPs_Memcpy4(DmaProg + 2, (char *)&Imm);
	return 6;
}