Question: how to program my directv genie remote to my samsung 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.