   ASM & HLSL
  Got some code in ASM and wanna translate it into HLSL but dont know some commands   frc r0.xy, r0 // take frac of all 4 componentsfrc r1.xy, r0.zwzw //mov r0.zw, r1.xyxy //wat does it mean?thanks advance   
  got it!frc: Return fractional component of each source inputfrc Dst, aSrcThis macro instruction removes the integer component from the source aSrc, leaving the fractional component of the elements d [0.0, 1.0]which is stored in the destination Dst;  In the event you haven't found this yet, a reference for all assembly instructions may be useful :) Most of them have direct intrinsic equivalents in HLSL, though interestingly enough it took Microsoft no less than five shader models before they made an intrinsic for the mad instruction. Go figure.   ;  It's not really an issue since the driver compiler is free to fuse multiplies and additions into their own internal mad instruction, which you can pretty much count on them doing whenever possible.   