Question: how do i program my directv remote to my sony tv?
Answer: Press MENU on your remote.
Select Settings & Help > Settings > Remote Control > Program Remote.
Choose the device (TV, audio, DVD) you wish to program. ... 
Follow the on-screen prompts to complete programming.