Question: how to program my directv remote to my yamaha receiver?
Answer: First, there has to be a TV code programmed to the TV button on your remote. ... 
Put the DirecTV remote on AV2.
Press and hold MUTE and SELECT at the same time until you see two blinks at the top of the remote.
Enter 30176, then Press Select.