I wish there was a shader manual like c-scripts. A help doc with all commands, etc and examples.
Well how about this:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb509638(v=vs.85).aspx
I haven't looked into it too deeply because I didn't need to use HLSL for a long time, but I guess it's pretty much what you need.