Dan,
First, download the Denon 5805 IR code sheet found here:
[Link: usa.denon.com]Then, from the files section of this forum, download the Paul Friedlander's awesome Denon IR Code Generator:
[Link: remotecentral.com]It's an easy program to use and you will have all the discretes to your Denon.
Ben