diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index 3d271edd1c4e19c7fd629df4aabfb4e6159d6dc4..05f2961ec5b62b63faeeb978fdd85a9bcbc0fba7 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -2529,7 +2529,7 @@ FUNNY_UV_CODE
 		"addl %%edi, %%esi		\n\t" //src[xx+1]*2*xalpha + src[xx]*(1-2*xalpha)
 		"mov %1, %%"REG_D"		\n\t"
 		"shrl $9, %%esi			\n\t"
-		"movw %%si, (%%"REG_d", %%"REG_a", 2)\n\t"
+		"movw %%si, (%%"REG_D", %%"REG_a", 2)\n\t"
 
 		"movzbl  (%5, %%"REG_b"), %%edi	\n\t" //src[xx]
 		"movzbl 1(%5, %%"REG_b"), %%esi	\n\t" //src[xx+1]